RE: HiveSQL with Python: Tables and Columns

avatar

You are viewing a single comment's thread:

This is cool :)

I usually used this to get the table names -

cursor = conn.cursor()
for row in cursor.tables():
print(row.table_name)

Then getting the columns was easy for whichever table I needed.



0
0
0.000
0 comments