Reputation: 1361
I am experimenting with Data Flows in Azure Data Factory.
I have:
However, when I select a source, go to Source options, and change Input from Table to Query and enter a simple query, it returns 0 columns (there are 11 columns in dummy_data_table1). I suspect my syntax is wrong, but how should I change it?
Hopefully this screenshot will help.
Upvotes: 1
Views: 842
Reputation: 1361
The problem was not the syntax. The problem was that the data flow could not recognize "dummy_data_table1" because it didn't refer to anything known. To make it work, I had to:
Once this is done, the table name and fields are all automatically recognized and can be referenced to in the query just like one would do in SQL Server.
Source: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-source#import-schema
Upvotes: 2