--
You received this message because you are subscribed to the Google Groups "Delta Lake Users and Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to delta-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/delta-users/9919b057-ded0-48b5-93fa-d7ae32cbdef0n%40googlegroups.com.
For Hive support check this doc https://github.com/delta-io/connectors
under hive connectors
I have not configured the serialiser of delta for Hive yet so I get warning
>>> sqlText = """CREATE TABLE test.events (
... date DATE,
... eventId STRING,
... eventType STRING,
... data STRING)
... USING DELTA
... PARTITIONED BY (date)
... """
>>> spark.sql(sqlText)
2021-06-12 09:32:12,372 WARN hive.HiveExternalCatalog: Couldn't find corresponding Hive SerDe for data source provider delta. Persisting data source table `test`.`events` into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.
In Hive thrift server I do
0: jdbc:hive2://rhes75:10099/default> use test
. . . . . . . . . . . . . . . . . . > No rows affected (0.012 seconds)
0: jdbc:hive2://rhes75:10099/default> desc events
. . . . . . . . . . . . . . . . . . > +-----------+----------------+--------------------+
| col_name | data_type | comment |
+-----------+----------------+--------------------+
| col | array<string> | from deserializer |
+-----------+----------------+--------------------+
1 row selected (0.318 seconds)
so you need Hive to be there and some more work.
HTH
Disclaimer: Use it at your own risk. Any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on this email's technical content is explicitly disclaimed. The author will in no case be liable for any monetary damages arising from such loss, damage or destruction.
To view this discussion on the web visit https://groups.google.com/d/msgid/delta-users/12856a53-45c2-4759-a61d-5957b40f2d5en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/delta-users/fe57bcf4-b105-427f-b3f8-5929abd07127n%40googlegroups.com.