<?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 Spark JDBC query isn't working for Oracle Databases in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/spark-jdbc-query-isn-t-working-for-oracle-databases/m-p/26839#M18844</link>
    <description>&lt;P&gt;I am trying to read  with the following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;val&lt;/B&gt; df &lt;B&gt;=&lt;/B&gt; spark.read&lt;/P&gt;&lt;P&gt;  .format("jdbc")&lt;/P&gt;&lt;P&gt;  .option("url", "&amp;lt;url&amp;gt;")&lt;/P&gt;&lt;P&gt;  .option("query", "SELECT * FROM oracle_test_table)")&lt;/P&gt;&lt;P&gt;  .option("user", "&amp;lt;user&amp;gt;")&lt;/P&gt;&lt;P&gt;  .option("password", "&amp;lt;password&amp;gt;")&lt;/P&gt;&lt;P&gt;  .option("driver", "oracle.jdbc.driver.OracleDriver")&lt;/P&gt;&lt;P&gt;  .load()&lt;/P&gt;&lt;P&gt;df.show()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and am getting the following error &lt;/P&gt;&lt;P&gt;java.sql.SQLSyntaxErrorException: ORA-00911: invalid character&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 19:26:30 GMT</pubDate>
    <dc:creator>User15725630784</dc:creator>
    <dc:date>2021-05-14T19:26:30Z</dc:date>
    <item>
      <title>Spark JDBC query isn't working for Oracle Databases</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-jdbc-query-isn-t-working-for-oracle-databases/m-p/26839#M18844</link>
      <description>&lt;P&gt;I am trying to read  with the following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;val&lt;/B&gt; df &lt;B&gt;=&lt;/B&gt; spark.read&lt;/P&gt;&lt;P&gt;  .format("jdbc")&lt;/P&gt;&lt;P&gt;  .option("url", "&amp;lt;url&amp;gt;")&lt;/P&gt;&lt;P&gt;  .option("query", "SELECT * FROM oracle_test_table)")&lt;/P&gt;&lt;P&gt;  .option("user", "&amp;lt;user&amp;gt;")&lt;/P&gt;&lt;P&gt;  .option("password", "&amp;lt;password&amp;gt;")&lt;/P&gt;&lt;P&gt;  .option("driver", "oracle.jdbc.driver.OracleDriver")&lt;/P&gt;&lt;P&gt;  .load()&lt;/P&gt;&lt;P&gt;df.show()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and am getting the following error &lt;/P&gt;&lt;P&gt;java.sql.SQLSyntaxErrorException: ORA-00911: invalid character&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 19:26:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-jdbc-query-isn-t-working-for-oracle-databases/m-p/26839#M18844</guid>
      <dc:creator>User15725630784</dc:creator>
      <dc:date>2021-05-14T19:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spark JDBC query isn't working for Oracle Databases</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-jdbc-query-isn-t-working-for-oracle-databases/m-p/26840#M18845</link>
      <description>&lt;P&gt;&lt;A href="https://kb.databricks.com/data-sources/query-option-not-work-oracle.html#problem-apache-spark-jdbc-datasource-query-option-doesnt-work-for-oracle-database" alt="https://kb.databricks.com/data-sources/query-option-not-work-oracle.html#problem-apache-spark-jdbc-datasource-query-option-doesnt-work-for-oracle-database" target="_blank"&gt;https://kb.databricks.com/data-sources/query-option-not-work-oracle.html#problem-apache-spark-jdbc-datasource-query-option-doesnt-work-for-oracle-database&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 19:26:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-jdbc-query-isn-t-working-for-oracle-databases/m-p/26840#M18845</guid>
      <dc:creator>User15725630784</dc:creator>
      <dc:date>2021-05-14T19:26:56Z</dc:date>
    </item>
  </channel>
</rss>

