<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic pyspark read data using jdbc url returns column names only in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/pyspark-read-data-using-jdbc-url-returns-column-names-only/m-p/70954#M34189</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a remote azure sql warehouse serverless instance that I can access using databricks-sql-connector. I can read/write/update tables no problem.&lt;/P&gt;&lt;P&gt;But, I'm also trying to read/write/update tables using local pyspark + jdbc drivers. But when I try to run df=spark.read.format("jdbc").... df.head(5), only the column names are return 5 times. See my code below.&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;def &lt;/SPAN&gt;&lt;SPAN&gt;get_jdbc_url&lt;/SPAN&gt;():&lt;BR /&gt;    &lt;SPAN&gt;# Define your Databricks parameters&lt;BR /&gt;&lt;/SPAN&gt;    server_hostname&lt;SPAN&gt;, &lt;/SPAN&gt;http_path&lt;SPAN&gt;, &lt;/SPAN&gt;access_token = get_connection_configs()&lt;BR /&gt;    default_catalog = &lt;SPAN&gt;"researchers"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;# Build the Spark JDBC URL&lt;BR /&gt;&lt;/SPAN&gt;    jdbc_url = &lt;SPAN&gt;f"jdbc:databricks://&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;server_hostname&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;:443;httpPath=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;http_path&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;;AuthMech=3;UID=token;PWD=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;access_token&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;;ConnCatalog=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;default_catalog&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;return &lt;/SPAN&gt;jdbc_url&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;def &lt;/SPAN&gt;&lt;SPAN&gt;get_spark&lt;/SPAN&gt;() -&amp;gt; SparkSession:&lt;BR /&gt;    &lt;SPAN&gt;# Initialize SparkSession&lt;BR /&gt;&lt;/SPAN&gt;    conf = SparkConf()&lt;BR /&gt;    &lt;SPAN&gt;# unfortunately, there is no automatic way for pyspark to download the jar itself&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    # &lt;/SPAN&gt;&lt;SPAN&gt;TODO set to your own jar path&lt;BR /&gt;&lt;/SPAN&gt;    conf.set(&lt;SPAN&gt;"spark.jars"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;             &lt;SPAN&gt;"/home/username/repos/uwcip-research/code-examples/DatabricksJDBC42-2.6.38.1068/DatabricksJDBC42.jar"&lt;/SPAN&gt;)&lt;BR /&gt;    conf.set(&lt;SPAN&gt;"spark.driver.extraClassPath"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;             &lt;SPAN&gt;"/home/username/repos/uwcip-research/code-examples/DatabricksJDBC42-2.6.38.1068/DatabricksJDBC42.jar"&lt;/SPAN&gt;)&lt;BR /&gt;    conf.set(&lt;SPAN&gt;"spark.sql.execution.arrow.pyspark.enabled"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;    spark = SparkSession.builder \&lt;BR /&gt;        .appName(&lt;SPAN&gt;"connecting to databricks"&lt;/SPAN&gt;) \&lt;BR /&gt;        .config(&lt;SPAN&gt;conf&lt;/SPAN&gt;=conf) \&lt;BR /&gt;        .getOrCreate()&lt;BR /&gt;    &lt;SPAN&gt;return &lt;/SPAN&gt;spark&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;def &lt;/SPAN&gt;&lt;SPAN&gt;read_table&lt;/SPAN&gt;():&lt;BR /&gt;    spark = get_spark()&lt;BR /&gt;    jdbc_url = get_jdbc_url()&lt;BR /&gt;    dbtable = &lt;SPAN&gt;"researchers.dev.test_transcripts"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;    df = spark.read \&lt;BR /&gt;        .format(&lt;SPAN&gt;"jdbc"&lt;/SPAN&gt;) \&lt;BR /&gt;        .option(&lt;SPAN&gt;"url"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;jdbc_url) \&lt;BR /&gt;        .option(&lt;SPAN&gt;"dbtable"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;dbtable) \&lt;BR /&gt;        .load()&lt;BR /&gt;&lt;BR /&gt;    top5 = df.head(&lt;SPAN&gt;5&lt;/SPAN&gt;)&lt;BR /&gt;    &lt;SPAN&gt;print&lt;/SPAN&gt;(top5)&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error I got:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unable to create Lookup for date&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.DateLookup&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at java.base/java.lang.Class.asSubclass(Class.java:3640)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.lookup.Interpolator.&amp;lt;init&amp;gt;(Interpolator.java:84)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.lookup.Interpolator.&amp;lt;init&amp;gt;(Interpolator.java:105)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unable to create Lookup for env&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.EnvironmentLookup&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at java.base/java.lang.Class.asSubclass(Class.java:3640)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [d]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [thread]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [level]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [logger]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [msg]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [n]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;[Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript')]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, looks to be some sort of log4j issue (not sure if relevant), and then only the column names are returned 5 times. any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2024 18:26:48 GMT</pubDate>
    <dc:creator>amelia1</dc:creator>
    <dc:date>2024-05-28T18:26:48Z</dc:date>
    <item>
      <title>pyspark read data using jdbc url returns column names only</title>
      <link>https://community.databricks.com/t5/data-engineering/pyspark-read-data-using-jdbc-url-returns-column-names-only/m-p/70954#M34189</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a remote azure sql warehouse serverless instance that I can access using databricks-sql-connector. I can read/write/update tables no problem.&lt;/P&gt;&lt;P&gt;But, I'm also trying to read/write/update tables using local pyspark + jdbc drivers. But when I try to run df=spark.read.format("jdbc").... df.head(5), only the column names are return 5 times. See my code below.&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;def &lt;/SPAN&gt;&lt;SPAN&gt;get_jdbc_url&lt;/SPAN&gt;():&lt;BR /&gt;    &lt;SPAN&gt;# Define your Databricks parameters&lt;BR /&gt;&lt;/SPAN&gt;    server_hostname&lt;SPAN&gt;, &lt;/SPAN&gt;http_path&lt;SPAN&gt;, &lt;/SPAN&gt;access_token = get_connection_configs()&lt;BR /&gt;    default_catalog = &lt;SPAN&gt;"researchers"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;# Build the Spark JDBC URL&lt;BR /&gt;&lt;/SPAN&gt;    jdbc_url = &lt;SPAN&gt;f"jdbc:databricks://&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;server_hostname&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;:443;httpPath=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;http_path&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;;AuthMech=3;UID=token;PWD=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;access_token&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;;ConnCatalog=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;default_catalog&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;return &lt;/SPAN&gt;jdbc_url&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;def &lt;/SPAN&gt;&lt;SPAN&gt;get_spark&lt;/SPAN&gt;() -&amp;gt; SparkSession:&lt;BR /&gt;    &lt;SPAN&gt;# Initialize SparkSession&lt;BR /&gt;&lt;/SPAN&gt;    conf = SparkConf()&lt;BR /&gt;    &lt;SPAN&gt;# unfortunately, there is no automatic way for pyspark to download the jar itself&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    # &lt;/SPAN&gt;&lt;SPAN&gt;TODO set to your own jar path&lt;BR /&gt;&lt;/SPAN&gt;    conf.set(&lt;SPAN&gt;"spark.jars"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;             &lt;SPAN&gt;"/home/username/repos/uwcip-research/code-examples/DatabricksJDBC42-2.6.38.1068/DatabricksJDBC42.jar"&lt;/SPAN&gt;)&lt;BR /&gt;    conf.set(&lt;SPAN&gt;"spark.driver.extraClassPath"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;             &lt;SPAN&gt;"/home/username/repos/uwcip-research/code-examples/DatabricksJDBC42-2.6.38.1068/DatabricksJDBC42.jar"&lt;/SPAN&gt;)&lt;BR /&gt;    conf.set(&lt;SPAN&gt;"spark.sql.execution.arrow.pyspark.enabled"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;    spark = SparkSession.builder \&lt;BR /&gt;        .appName(&lt;SPAN&gt;"connecting to databricks"&lt;/SPAN&gt;) \&lt;BR /&gt;        .config(&lt;SPAN&gt;conf&lt;/SPAN&gt;=conf) \&lt;BR /&gt;        .getOrCreate()&lt;BR /&gt;    &lt;SPAN&gt;return &lt;/SPAN&gt;spark&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;def &lt;/SPAN&gt;&lt;SPAN&gt;read_table&lt;/SPAN&gt;():&lt;BR /&gt;    spark = get_spark()&lt;BR /&gt;    jdbc_url = get_jdbc_url()&lt;BR /&gt;    dbtable = &lt;SPAN&gt;"researchers.dev.test_transcripts"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;    df = spark.read \&lt;BR /&gt;        .format(&lt;SPAN&gt;"jdbc"&lt;/SPAN&gt;) \&lt;BR /&gt;        .option(&lt;SPAN&gt;"url"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;jdbc_url) \&lt;BR /&gt;        .option(&lt;SPAN&gt;"dbtable"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;dbtable) \&lt;BR /&gt;        .load()&lt;BR /&gt;&lt;BR /&gt;    top5 = df.head(&lt;SPAN&gt;5&lt;/SPAN&gt;)&lt;BR /&gt;    &lt;SPAN&gt;print&lt;/SPAN&gt;(top5)&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error I got:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unable to create Lookup for date&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.DateLookup&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at java.base/java.lang.Class.asSubclass(Class.java:3640)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.lookup.Interpolator.&amp;lt;init&amp;gt;(Interpolator.java:84)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at com.databricks.client.jdbc42.internal.apache.logging.log4j.core.lookup.Interpolator.&amp;lt;init&amp;gt;(Interpolator.java:105)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unable to create Lookup for env&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.EnvironmentLookup&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;at java.base/java.lang.Class.asSubclass(Class.java:3640)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [d]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [thread]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [level]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [logger]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [msg]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized format specifier [n]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.&lt;/FONT&gt;&lt;BR /&gt;[Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript'), Row(video_name='video_name', video_transcript='video_transcript')]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, looks to be some sort of log4j issue (not sure if relevant), and then only the column names are returned 5 times. any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 18:26:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pyspark-read-data-using-jdbc-url-returns-column-names-only/m-p/70954#M34189</guid>
      <dc:creator>amelia1</dc:creator>
      <dc:date>2024-05-28T18:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: pyspark read data using jdbc url returns column names only</title>
      <link>https://community.databricks.com/t5/data-engineering/pyspark-read-data-using-jdbc-url-returns-column-names-only/m-p/71062#M34236</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/55356"&gt;@amelia1&lt;/a&gt;&amp;nbsp;how are you?&lt;/P&gt;
&lt;P&gt;What you got was indeed the top 5 rows (see that it was the Row class). What does it show when you run display(df)?&lt;/P&gt;
&lt;P&gt;I'm thinking it might be something related to your schema, since you did not defined that, it can read the data in an unstructured matter, replacing some of the fields.&lt;/P&gt;
&lt;P&gt;Can you please try defining it and passing on the spar.read?&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;from pyspark.sql import SparkSession
from pyspark.sql.types import StructType, StructField, StringType

# Create a SparkSession
spark = SparkSession.builder.appName("Example").getOrCreate()

# Define the schema
schema = StructType([
    StructField("video_name", StringType(), True),
    StructField("video_transcript", StringType(), True)


   df = spark.read \
        .format("jdbc") \
        .schema(schema) \
        .option("url", jdbc_url) \
        .option("dbtable", dbtable) \
        .load()

display(df)&lt;/LI-CODE&gt;
&lt;P&gt;Let me know if that solves your problem.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 22:16:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pyspark-read-data-using-jdbc-url-returns-column-names-only/m-p/71062#M34236</guid>
      <dc:creator>anardinelli</dc:creator>
      <dc:date>2024-05-29T22:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: pyspark read data using jdbc url returns column names only</title>
      <link>https://community.databricks.com/t5/data-engineering/pyspark-read-data-using-jdbc-url-returns-column-names-only/m-p/95771#M39170</link>
      <description>&lt;P&gt;I added `UseNativeQuery=0` in url. It works for me.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 20:19:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pyspark-read-data-using-jdbc-url-returns-column-names-only/m-p/95771#M39170</guid>
      <dc:creator>infodeliberatel</dc:creator>
      <dc:date>2024-10-23T20:19:32Z</dc:date>
    </item>
  </channel>
</rss>

