I only need to take the time part from the 'Timestamp type source attribute' and load it into a dedicated SQL pool table (Time datatype column). But I don't find a time function within the expression builder in ADF, is there a way I can do it?
-What did I do? -I took the time part from the source attribute using substring and then tried to load the same into the destination table, when I do the destination table inserted null values as the column at the destination table is set to time datatype.



I tried to reproduce this and got the same issue. The following is a demonstration of the same. I have a table called
mydemoas shown below.The following is my source data in my dataflow.
timeis not a recognized datatype in azure dataflow (date and timestampare accepted). Therefore, dataflow fails to convertstring(substring(<timestamp_col>,12,5)) intotimetype.1900-01-01 12:34:56when time value in the table row is12:34:56.substring(<timestamp_col>,12,5)to return 00:01, useconcat('1900-01-01 ',substring(<timestamp_col>,12,8))which returns 1900-01-01 00:01:00.data preview. Now, azure dataflow will be able to successfully insert the values and give desired results.NOTE: You can construct valid yyyy-MM-dd hh:mm:ss as a value using concat('yyyy-MM-dd ',substring(<timestamp_col>,12,8)) in place of 1900-01-01 hh:mm:ss in derived column transformation.