<?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 Databricks SQL Endpoint Failing to create an external table on a parquet file with Decimal or Timestamp datatype in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-sql-endpoint-failing-to-create-an-external-table-on-a/m-p/19603#M13159</link>
    <description>&lt;P&gt;I'm using the Databricks SQL Endpoint and I'm attempting to create an external table on top of an existing parquet file. I can do this so long as my table definition does not include a reference to a decimal or timestamp/date datatype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. This works&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE EXTERNAL TABLE sampleTable ( &amp;nbsp;
ColA STRING, &amp;nbsp;
ColB INT) &amp;nbsp;
LOCATION 'storagelocation' STORED AS PARQUET&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I need to reference a timestamp column "ColC TIMESTAMP", I receive the following error...&lt;I&gt;"Parquet does not support timestamp. See HIVE-6384"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found in Databricks you can specify the hive version by using the following, but this did not resolve my issue.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.sql.hive.metastore.version 1.2.1&amp;nbsp;
spark.sql.hive.metastore.jars builtin&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any ideas on a way around this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 02:12:11 GMT</pubDate>
    <dc:creator>ta_db</dc:creator>
    <dc:date>2022-05-26T02:12:11Z</dc:date>
    <item>
      <title>Databricks SQL Endpoint Failing to create an external table on a parquet file with Decimal or Timestamp datatype</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-endpoint-failing-to-create-an-external-table-on-a/m-p/19603#M13159</link>
      <description>&lt;P&gt;I'm using the Databricks SQL Endpoint and I'm attempting to create an external table on top of an existing parquet file. I can do this so long as my table definition does not include a reference to a decimal or timestamp/date datatype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. This works&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE EXTERNAL TABLE sampleTable ( &amp;nbsp;
ColA STRING, &amp;nbsp;
ColB INT) &amp;nbsp;
LOCATION 'storagelocation' STORED AS PARQUET&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I need to reference a timestamp column "ColC TIMESTAMP", I receive the following error...&lt;I&gt;"Parquet does not support timestamp. See HIVE-6384"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found in Databricks you can specify the hive version by using the following, but this did not resolve my issue.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.sql.hive.metastore.version 1.2.1&amp;nbsp;
spark.sql.hive.metastore.jars builtin&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any ideas on a way around this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 02:12:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-endpoint-failing-to-create-an-external-table-on-a/m-p/19603#M13159</guid>
      <dc:creator>ta_db</dc:creator>
      <dc:date>2022-05-26T02:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks SQL Endpoint Failing to create an external table on a parquet file with Decimal or Timestamp datatype</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-endpoint-failing-to-create-an-external-table-on-a/m-p/19605#M13161</link>
      <description>&lt;P&gt;Hey there @T A​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everything is going great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does @Kaniz Fatma​'s response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly? If not, would you be happy to give us more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 16:31:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-endpoint-failing-to-create-an-external-table-on-a/m-p/19605#M13161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-25T16:31:29Z</dc:date>
    </item>
  </channel>
</rss>

