mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-12 17:02:23 +00:00
MINOR: Ignore Cluster Information from columns (#16495)
This commit is contained in:
parent
136ec635a7
commit
22be0edd79
@ -135,7 +135,11 @@ def get_columns(self, connection, table_name, schema=None, **kw):
|
|||||||
result = []
|
result = []
|
||||||
for col_name, col_type, _comment in rows:
|
for col_name, col_type, _comment in rows:
|
||||||
# Handle both oss hive and Databricks' hive partition header, respectively
|
# Handle both oss hive and Databricks' hive partition header, respectively
|
||||||
if col_name in ("# Partition Information", "# Partitioning"):
|
if col_name in (
|
||||||
|
"# Partition Information",
|
||||||
|
"# Partitioning",
|
||||||
|
"# Clustering Information",
|
||||||
|
):
|
||||||
break
|
break
|
||||||
# Take out the more detailed type information
|
# Take out the more detailed type information
|
||||||
# e.g. 'map<ixnt,int>' -> 'map'
|
# e.g. 'map<ixnt,int>' -> 'map'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user