Can we create native delta lake tables only through crawler



AWS recently announced that Glue crawlers can now create native delta lake tables (last December, We tested and it works fine. However, we would like to not use crawlers. Is this the only way to create a native delta lake table for now? Is this planned to allow this through the Glue console table creation screen?

As a side note, it looks like terraform is still missing a "CreateNativeDeltaTable" option in their latest provider (they have an open issue for that).




asked a year ago638 views
2 Answers

Thanks Gonzalo for your answer. Actually, my question is really about "delta" tables. I am able to create tables through the console, or the CLI. I am doing it multiple times :)

Through the console, I cannot select a "delta" format. I can select Avro, CSV, Parquet amongst others, but not Delta. When I create a replicate of the table created by the Delta source crawler, I get errors when querying the table (through Athena, or any other Glue job). When querying the mimicked table I get the error:

HIVE_CANNOT_OPEN_SPLIT: Error opening Hive split s3://.../part-00000-c3e64f54-ed8a-459c-8157-4235f25595b4.c000.snappy.parquet (offset=0, length=182912) using org.apache.hadoop.mapred.SequenceFileInputFormat: s3:// not a SequenceFile

Although querying the delta table created by the crawler (classification indeed equals to "delta") is working like a charm (both Athena and glue job).

answered a year ago
  • I see your point, you could use the wizard but then have to update the table using "ALTER TABLE" until it looks like the one from the crawler. You can do it Athena for instance, copying the DDL from another table


There is nothing stopping you creating the table yourself and doing the same the crawler does, as long as you enter the right parameters and configuration.
You can do it via the console, AWS CLI or boto3 or Athena.
It's easier if you get the table definition the crawler created and use it as a template, either using "aws glue get-table" or asking Athena to provide the DDL for an existing table.

profile pictureAWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions