https://delta.io logo
m

Martin

08/31/2023, 1:12 PM
I have a DeltaTable containing generated columns. Is there a way to look up the generation expression? I tried: •
DeltaTable.forName(spark, "myTable").detail()
It does not contain information on schema / generated columns •
DeltaTable.forName(spark, "myTable").toDF().schema
I had expected that the StructField for the generated columns have `delta.generationExpression` set in metadata