<?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 Re: Databricks SQL connector for python in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107675#M1840</link>
    <description>&lt;P&gt;All those fields are explained in the doc. For example search with `&lt;STRONG&gt;TABLE_CAT`&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 00:10:52 GMT</pubDate>
    <dc:creator>Satyadeepak</dc:creator>
    <dc:date>2025-01-30T00:10:52Z</dc:date>
    <item>
      <title>Databricks SQL connector for python</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107588#M1837</link>
      <description>&lt;P&gt;For Databricks SQL connector for python, the list of fields returned by Cursor.columns() is listed in &lt;A href="https://docs.databricks.com/en/dev-tools/python-sql-connector.html#cursor-class" target="_blank" rel="noopener"&gt;here&lt;/A&gt; (like&amp;nbsp;&lt;SPAN class=""&gt;TABLE_CAT,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;TABLE_SCHEM&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;TABLE_NAME,&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;COLUMN_NAME&lt;/SPAN&gt;). Could someone please share an exhaustive list of fields (including short description of fields if posssible) returned by cursor.columns()? I couldn't find any documentation related to this.&lt;BR /&gt;I'm interested in field - DATA_TYPE, wanted to confirm if this is same as java SQL types (&lt;A href="https://docs.oracle.com/javase/8/docs/api/constant-values.html#java.sql.Types.DECIMAL" target="_blank"&gt;link&lt;/A&gt;). Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 13:44:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107588#M1837</guid>
      <dc:creator>NS2</dc:creator>
      <dc:date>2025-01-29T13:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL connector for python</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107627#M1838</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/146674"&gt;@NS2&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;List of fields returned by Cursor.columns() in Databricks SQL Connector for Python:&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/python-sql-connector.html#cursor-class&amp;amp;language-Cluster" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/python-sql-connector.html#cursor-class&amp;amp;language-Cluster&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;TABLE_CAT&lt;/STRONG&gt;: The name of the catalog.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;TABLE_SCHEM&lt;/STRONG&gt;: The name of the schema.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;TABLE_NAME&lt;/STRONG&gt;: The name of the table.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;COLUMN_NAME&lt;/STRONG&gt;: The name of the column.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;DATA_TYPE&lt;/STRONG&gt;: The SQL data type of the column. This corresponds to Java SQL types&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;TYPE_NAME&lt;/STRONG&gt;: The data source-dependent type name.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;COLUMN_SIZE&lt;/STRONG&gt;: The column size.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;BUFFER_LENGTH&lt;/STRONG&gt;: The buffer length.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;DECIMAL_DIGITS&lt;/STRONG&gt;: The number of decimal digits.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;NUM_PREC_RADIX&lt;/STRONG&gt;: The radix (typically either 10 or 2).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;NULLABLE&lt;/STRONG&gt;: Whether the column allows NULL values.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;REMARKS&lt;/STRONG&gt;: A description of the column.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;COLUMN_DEF&lt;/STRONG&gt;: The default value of the column.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SQL_DATA_TYPE&lt;/STRONG&gt;: The SQL data type.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SQL_DATETIME_SUB&lt;/STRONG&gt;: The SQL datetime subcode.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;CHAR_OCTET_LENGTH&lt;/STRONG&gt;: The maximum number of bytes in the column.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;ORDINAL_POSITION&lt;/STRONG&gt;: The index of the column in the table (starting at 1).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IS_NULLABLE&lt;/STRONG&gt;: Whether the column allows NULL values (YES/NO).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SCOPE_CATALOG&lt;/STRONG&gt;: The catalog of the table that is the scope of a reference attribute.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SCOPE_SCHEMA&lt;/STRONG&gt;: The schema of the table that is the scope of a reference attribute.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SCOPE_TABLE&lt;/STRONG&gt;: The table name that is the scope of a reference attribute.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SOURCE_DATA_TYPE&lt;/STRONG&gt;: The source type of a distinct type or user-generated Ref type.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IS_AUTOINCREMENT&lt;/STRONG&gt;: Whether the column is auto-incremented (YES/NO).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IS_GENERATEDCOLUMN&lt;/STRONG&gt;: Whether the column is a generated column (YES/NO).&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 29 Jan 2025 15:36:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107627#M1838</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-29T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL connector for python</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107664#M1839</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unable to view this in the link that you shared. Do we need any additional permissions for it? This is helpful, thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 21:18:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107664#M1839</guid>
      <dc:creator>NS2</dc:creator>
      <dc:date>2025-01-29T21:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL connector for python</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107675#M1840</link>
      <description>&lt;P&gt;All those fields are explained in the doc. For example search with `&lt;STRONG&gt;TABLE_CAT`&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 00:10:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databricks-sql-connector-for-python/m-p/107675#M1840</guid>
      <dc:creator>Satyadeepak</dc:creator>
      <dc:date>2025-01-30T00:10:52Z</dc:date>
    </item>
  </channel>
</rss>

