on 10-25-2022 08:40 AM - edited on 10-26-2022 09:46 AM by Tristan
Previously, you could use spark.sql() to query the data from physical schema data by creating temp views.
Let's review the previously tedious steps:
Go to Schema -> Explore Data -> SQL generation -> Copy the Reference SQL to Notebook -> Load data and create temp view -> Copy and edit the Reference SQL in spark.sql() function
Incorta 2022.10.0 or later
df = incorta_sql("""
SELECT
*
FROM
SCHEMA_NAME.TABLE_NAME
""")
Example: