Hello @AngadSingh ,
The error message you've shared identifies the issue you're encountering. The error message:
Source code has no table to create or update.
occurs because your Delta Live Tables (DLT) pipeline does not have any streaming tables defined after you commented out the table definition. Delta Live Tables require at least one table in the pipeline code to execute. Without any table, the pipeline has nothing to process, leading to the error.