Skip to content

Conversation

@rohkhann
Copy link
Contributor

@rohkhann rohkhann commented Dec 15, 2023

Why make this change?

Datawarehouse was having issues with datetime. This is because we are using string agg. if we dont add the "" to datetime, it is being deserialized as a number and we get a bug saying there is a - in the number. FOR JSON converts bit to true or false and hence we need to do same.

What is this change?

Hence for datetime we need to add the wrapping "" to ensure correct deserialization.
if datatype is bit set to true or false.

How was this tested?

unit tests added.
integration test done with dab running and dw datetime supported. image:
Uploading image.png…

Copy link
Contributor

@aaronburtle aaronburtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rohkhann
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@rohkhann
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@rohkhann
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@rohkhann rohkhann enabled auto-merge (squash) December 19, 2023 05:34
@rohkhann
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@rohkhann rohkhann merged commit 462eb00 into main Dec 20, 2023
@rohkhann rohkhann deleted the rohkhann/DwDatatimeSupport branch December 20, 2023 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants