<?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 unable to create delta tables in aws glue catalog in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-create-delta-tables-in-aws-glue-catalog/m-p/15025#M9419</link>
    <description>&lt;P&gt;unable to create delta tables in aws glue catalog&lt;/P&gt;&lt;P&gt;The project requires that we integrate with the AWS Glue catalog.&lt;/P&gt;&lt;P&gt;We would like to be able to create tables in delta format in the glue catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test this functionality. We did the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created the cluster with access to the Glue catalog as described here &lt;A href="https://docs.databricks.com/data/metastores/aws-glue-metastore.html" alt="https://docs.databricks.com/data/metastores/aws-glue-metastore.html" target="_blank"&gt;https://docs.databricks.com/data/metastores/aws-glue-metastore.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Created a database from AWS Athena&lt;/P&gt;&lt;P&gt;Created a table in Athena based on a csv file in s3&lt;/P&gt;&lt;P&gt;Launched the cluster with glue access in databricks&lt;/P&gt;&lt;P&gt;Ran sql to read table created in step 3 .This worked&lt;/P&gt;&lt;P&gt;Now tried to run a CREATE TABLE AS SELECT .. this failed (error attached.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create a parquet table as shown&lt;/P&gt;&lt;P&gt;create table sales222&lt;/P&gt;&lt;P&gt;STORED AS parquet&lt;/P&gt;&lt;P&gt;LOCATION 's3://pla-sc-357559-44-aws-databricks-s3/test/'&lt;/P&gt;&lt;P&gt;as select * from sales_orders&lt;/P&gt;&lt;P&gt;This worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8 Ran this to convert to delta&lt;/P&gt;&lt;P&gt;convert to delta parquet.`s3://pla-sc-357559-44-aws- databricks-s3/test`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This succeeded. But i noticed that glue catalog ddl still shows format as parquet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the only way to create delta tables on the AWS glue catalog ?&lt;/P&gt;&lt;P&gt;If you can assist with a short demo that would be great&lt;/P&gt;&lt;P&gt;We would like to do this in SQL only as we are integrating with dbt&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 14:55:33 GMT</pubDate>
    <dc:creator>727123</dc:creator>
    <dc:date>2022-07-01T14:55:33Z</dc:date>
    <item>
      <title>unable to create delta tables in aws glue catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-create-delta-tables-in-aws-glue-catalog/m-p/15025#M9419</link>
      <description>&lt;P&gt;unable to create delta tables in aws glue catalog&lt;/P&gt;&lt;P&gt;The project requires that we integrate with the AWS Glue catalog.&lt;/P&gt;&lt;P&gt;We would like to be able to create tables in delta format in the glue catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test this functionality. We did the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created the cluster with access to the Glue catalog as described here &lt;A href="https://docs.databricks.com/data/metastores/aws-glue-metastore.html" alt="https://docs.databricks.com/data/metastores/aws-glue-metastore.html" target="_blank"&gt;https://docs.databricks.com/data/metastores/aws-glue-metastore.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Created a database from AWS Athena&lt;/P&gt;&lt;P&gt;Created a table in Athena based on a csv file in s3&lt;/P&gt;&lt;P&gt;Launched the cluster with glue access in databricks&lt;/P&gt;&lt;P&gt;Ran sql to read table created in step 3 .This worked&lt;/P&gt;&lt;P&gt;Now tried to run a CREATE TABLE AS SELECT .. this failed (error attached.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create a parquet table as shown&lt;/P&gt;&lt;P&gt;create table sales222&lt;/P&gt;&lt;P&gt;STORED AS parquet&lt;/P&gt;&lt;P&gt;LOCATION 's3://pla-sc-357559-44-aws-databricks-s3/test/'&lt;/P&gt;&lt;P&gt;as select * from sales_orders&lt;/P&gt;&lt;P&gt;This worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8 Ran this to convert to delta&lt;/P&gt;&lt;P&gt;convert to delta parquet.`s3://pla-sc-357559-44-aws- databricks-s3/test`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This succeeded. But i noticed that glue catalog ddl still shows format as parquet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the only way to create delta tables on the AWS glue catalog ?&lt;/P&gt;&lt;P&gt;If you can assist with a short demo that would be great&lt;/P&gt;&lt;P&gt;We would like to do this in SQL only as we are integrating with dbt&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 14:55:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-create-delta-tables-in-aws-glue-catalog/m-p/15025#M9419</guid>
      <dc:creator>727123</dc:creator>
      <dc:date>2022-07-01T14:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create delta tables in aws glue catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-create-delta-tables-in-aws-glue-catalog/m-p/15028#M9422</link>
      <description>&lt;P&gt;Hi @extCheeren.John​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a friendly follow-up. Do you still are looking for help of any of the responses helped you to resolve your questions? please let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 23:36:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-create-delta-tables-in-aws-glue-catalog/m-p/15028#M9422</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-07-20T23:36:32Z</dc:date>
    </item>
  </channel>
</rss>

