Forum Discussion
How to list Table Properties
DennesTorres The traditional statement to see table properties is working fine from notebooks.
I just verified it using below code snippet
- DennesTorres3 years agoPower Participant
Hi,
I just tried it again and it's not working. Maybe I'm doing something wrong? I get a simple syntax error as feedback
Kind Regards,
Dennes- DennesTorres3 years agoPower Participant
Hi,
After some more tests, I solved the problem of the SHOW statement, it was a silly mistake I did. %%sql only works if it's on the first line of the code block.
However, the final intended result didn't work. I was looking for discovering if the table was created using vorder optimization or optimizewrite, I was sure some of the tables were created with these features, while others were not, but the SHOW TBLPROPERTIES never show these properties.
What could I be doing wrong?Kind Regards,
Dennes
- chetnachaudhari3 years agoAdvocate I
You can check the value of particular property using following syntax
%%sql SHOW TBLPROPERTIES dim_calendar ('delta.parquet.vorder.enabled');Regards,
Chetna