Hi there! I am using the Hive+Databricks ingest So...
# ingestion
l
Hi there! I am using the Hive+Databricks ingest Source plugin, but it doesn’t extract the columns comments. Am I doing something wrong?
m
Hi @limited-cricket-18852, column description is one of the very elementary features we support for hive. When you issue a "describe table" statement, do you see the description?
l
Hi @miniature-tiger-96062 thanks for your answer. Yes I get the description when I do a “describe table”. Here is an example from 2 columns from one of our tables:
and here is the same columns when ingesting into a File Sink (easier to see what it built):
And finally, here is the recipe I used:
Copy code
source:
  type: hive
  config:
    host_port: <http://XXXXX.cloud.databricks.com:443|XXXXX.cloud.databricks.com:443>
    username: token
    password: XXXXXXXXXXXXXXXXXXXX
    scheme: 'databricks+pyhive'
    database: silver
    options:
      connect_args:
        http_path: 'sql/protocolv1/o/XXXXX/XXXXXXXXXXXXXXX'
sink:
  type: file
  config:
    filename: ./output.json
m
Thanks a lot @limited-cricket-18852. I need to look at if databrick hive instance behave any differently.
👏 1
👍 1