unable see data in external created based on tab delimited file

79571025 0 Reputation points
2025-04-10T18:15:58.7233333+00:00

I am able to query an external table made of tab delimited file via spark engine but unable to see any data when queried from SSMS

Error faced in sql:

Started executing query at Line 1 Warning: No datasets were found that match the expression 'test.test'. Statement ID: {85B0AD59-0E40-4610-853E-512E16A752AC} | Query hash: 0x2B1BAAB3BB992884 | Distributed request ID: {13084C6C-F30B-46F7-8751-0497EE95D882}. Total size of data scanned is 0 megabytes, total size of data moved is 0 megabytes, total size of data written is 0 megabytes. (0 record affected) Total execution time: 00:00:00.794

table script as below

%%pyspark

spark.sql("""CREATE EXTERNAL TABLE IF NOT EXISTS test.test (a varchar(200),b varchar(200),c varchar(200),d varchar(200)) USING csv OPTIONS (path 'abfss://******@container.dfs.core.windows.net/test/' , delimiter "\t", header "true")""")

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,338 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.