Forum Discussion

Element115's avatar
Element115
Memorable Member
2 years ago
Solved

BUG::DFg2 TIME data type mishandling

STEPS   0__create first DFg2 and ingest a table from on-prem SQL Server DB that has a datetime2 column; do not set a data destination; Enable staging. 1__create a second DFg2 and set the previous ...
  • Element115's avatar
    Element115
    2 years ago

    The latter.  Every single time I have a column of type TIME, when I select lakehouse as the destination, it forces me to change the data type to DATETIME because TIME is not supported.  Once it brings you back to the Power Query UI (see screenshot) the TIME column,  now a DATETIME type, shows the separator between date and time as ', ' that is to say a comma followed by a space, instead of just space as in SQL Server.

     

    Ideally, the type TIME should be supported by a lakehouse, just like in a DB.

     

    Oh I see my mistake... I was getting so upset I miswrote... of course there will be a date in the time column since it is now of type datetime. Duh. My bad.  

  • miguel's avatar
    miguel
    2 years ago

    This is currently by-design. The Delta format does not support a time type. Fundamentally, a limitation of the destination and not Dataflow Gen2.

     

    You can suggest the idea to support a time data type for the Lakehouse using the link below:

    https://aka.ms/FabricIdeas