Friday
Databricks analyzer does not shows any DDL statement count, I've also tested with just a simple SELECT * query (SELECT * FROM SCHEMA_NAME.TABLE_NAME;) . Is there any solution for this ?
My target was to get a detailed analysis on SnowSQL code.
Any help would be appreciated.
Thanks.
Friday
@shashankB - can you pls be more specific what do you mean by count and how that will be useful in migration context?
Friday
Hi @shashankB select is considered as DML and not DDL
Sunday
Hello All,
Here, we are running the Databricks Lakebridge Analyzer for Snowflake Dialect, But the Analyzer is not able to analyze the SnowSQL Query and Generating the incorrect count as 0 for all the required MetaData Analysis report.
The source Queries:
Sunday
The Lakebridge analyzer counts DDL statements, not regular queries. A simple SELECT * is DML, not DDL, so it wonโt show up in the DDL count.
To get meaningful results for SnowSQL code analysis:
Include actual DDL statements like CREATE TABLE, ALTER TABLE, DROP TABLE, etc.
Ensure the analyzer is pointed at scripts that contain DDL commands.
If you only have DML queries, the DDL count will remain zeroโthis is expected behavior.
For full SnowSQL analysis, combine DDL-containing scripts with your SELECT/INSERT queries.
yesterday
Hi There,
I'm running a simple Snowsql query which contains the DDL commands and also some tables, but the Analyzer is not giving the count of any.
ex query:
CREATE OR REPLACE TABLE DEMO_DB.PUBLIC.CUSTOMERS (
CUSTOMER_ID INTEGER,
CUSTOMER_NAME STRING,
COUNTRY STRING,
CREATED_AT TIMESTAMP,
UPDATED_AT TIMESTAMP
);
-- Create a view
CREATE OR REPLACE VIEW DEMO_DB.PUBLIC.CUSTOMERS_US AS
SELECT *
FROM DEMO_DB.PUBLIC.CUSTOMERS
WHERE COUNTRY = 'USA';
Here I'm getting the Analyzer output as:
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now