<?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 Creating a DLT pipeline that reads from a JDBC source in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/creating-a-dlt-pipeline-that-reads-from-a-jdbc-source/m-p/26010#M18139</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'm trying to create a DLT pipeline that reads from a JDBC source, and the code I'm using looks something like this in python:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import dlt
@dlt.table
def table_name():
  driver = 'oracle.jdbc.driver.OracleDriver'
  url = '...'
  query = 'SELECT ... FROM ...'
  df = spark.read.format("jdbc")\
         .option("driver", driver)\
         .option("url",url)\
         .option("user", username)\
         .option("password", password)\
         .option("query", query)\
         .load()
  return df&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it works perfectly fine when outside of the DLT pipeline, and I know for sure that the "df" DataFrame should be created successfully.&lt;/P&gt;&lt;P&gt;I keep getting an error in my DLT pipeline logs that fails at the "setting up tables" stage which says: " Failed to resolve flow: 'table_name' ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating a basic DLT that just reads from an existing delta table (one that read from the same JDBC table but outside of the DLT pipeline) and it works fine, so I know that my environment setup is working fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone pinpoint what is going wrong here?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 17:33:59 GMT</pubDate>
    <dc:creator>Reda</dc:creator>
    <dc:date>2022-10-24T17:33:59Z</dc:date>
    <item>
      <title>Creating a DLT pipeline that reads from a JDBC source</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-dlt-pipeline-that-reads-from-a-jdbc-source/m-p/26010#M18139</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'm trying to create a DLT pipeline that reads from a JDBC source, and the code I'm using looks something like this in python:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import dlt
@dlt.table
def table_name():
  driver = 'oracle.jdbc.driver.OracleDriver'
  url = '...'
  query = 'SELECT ... FROM ...'
  df = spark.read.format("jdbc")\
         .option("driver", driver)\
         .option("url",url)\
         .option("user", username)\
         .option("password", password)\
         .option("query", query)\
         .load()
  return df&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it works perfectly fine when outside of the DLT pipeline, and I know for sure that the "df" DataFrame should be created successfully.&lt;/P&gt;&lt;P&gt;I keep getting an error in my DLT pipeline logs that fails at the "setting up tables" stage which says: " Failed to resolve flow: 'table_name' ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating a basic DLT that just reads from an existing delta table (one that read from the same JDBC table but outside of the DLT pipeline) and it works fine, so I know that my environment setup is working fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone pinpoint what is going wrong here?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 17:33:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-dlt-pipeline-that-reads-from-a-jdbc-source/m-p/26010#M18139</guid>
      <dc:creator>Reda</dc:creator>
      <dc:date>2022-10-24T17:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a DLT pipeline that reads from a JDBC source</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-dlt-pipeline-that-reads-from-a-jdbc-source/m-p/26011#M18140</link>
      <description>&lt;P&gt;Hi @Reda Bitar​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question first. Or else bricksters will get back to you soon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 14:18:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-dlt-pipeline-that-reads-from-a-jdbc-source/m-p/26011#M18140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-27T14:18:38Z</dc:date>
    </item>
  </channel>
</rss>

