Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How can I modify my custom Type or Entity to have the "schema" tab as it is shown for hive_table Type ?

Highlighted

How can I modify my custom Type or Entity to have the "schema" tab as it is shown for hive_table Type ?

New Contributor

Update

I update my custom Atlas Types as follows:

  • updated bq_column
    • added
      "superTypes": [
        "DataSet"
      ]
    • added
      "options": {
        "schemaAttributes": "[\"name\", \"type\", \"mode\", \"description\"]"
      }
  • updated bq_table
    • added
      "superTypes": [
        "DataSet"
      ]
    • added
      "options": {
        "schemaElementsAttribute": "columns"
      }


So now I have the "schema" tab, but the "properties" tab never finishes loading!

Example bq_column

108876-screenshot-2019-05-23-at-180209.png

Example bq_table

108892-screenshot-2019-05-23-at-180141.png

108931-screenshot-2019-05-23-at-180159.png


So my questions are is:

  • How can update my custom types (bq_column, bq_table) to have both "schema" and "properties" properly?
  • How can I configure the pagination for the "schema" tab?


========

I am trying to use Apache Atlas (1.1.0 and 2.0.0) to have metadata about my BigQuery tables.


I have created the following Atlas Types:

- bq_column

- bq_table (has an array of bq_columns)


In the bq_table table view I would like to see the table's "schema tab", as in the figure below.

108871-screenshot-2019-05-22-at-123059.png


We currently have something like the following images:


Example bq_column

108881-screenshot-2019-05-21-at-183045.png


Example bq_table

108891-screenshot-2019-05-21-at-183219.png



How can I modify my custom Type or Entity to have the "schema" tab as it is shown for hive_table Type ?