Skip to content

Conversation

@burakgok
Copy link
Contributor

@burakgok burakgok commented Nov 3, 2021

Fixes #1396

  1. Long values are converted into Integer for DATE fields.
  2. Date literals are converted into epoch days (Integer) for DATE fields.
  3. Number values are converted into Double for DOUBLE fields.

@burakgok burakgok requested review from a team and stephaniewang526 November 3, 2021 10:48
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 3, 2021
@product-auto-label product-auto-label bot added the api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. label Nov 3, 2021
@burakgok burakgok changed the title DATE and DOUBLE support more input formats feat: DATE and DOUBLE support more input formats Nov 3, 2021
@yirutang
Copy link
Contributor

yirutang commented Nov 3, 2021

Looks great! Could you add unit test for the extra cases supported?
Date with String
Date with Long
Double with Integer

@burakgok burakgok requested a review from a team as a code owner November 4, 2021 10:23
@burakgok burakgok force-pushed the main branch 2 times, most recently from 6fedc37 to 89a5835 Compare November 4, 2021 16:58
Copy link
Contributor

@yirutang yirutang left a comment

Choose a reason for hiding this comment

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

Thanks!

@stephaniewang526 stephaniewang526 added kokoro:force-run Add this label to force Kokoro to re-run the tests. automerge Merge the pull request once unit tests and other checks pass. labels Nov 5, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 5, 2021
@stephaniewang526 stephaniewang526 added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 5, 2021
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 5, 2021
@stephaniewang526 stephaniewang526 removed the automerge Merge the pull request once unit tests and other checks pass. label Nov 5, 2021
1. Long values are converted into Integer for DATE fields.
2. Date literals are converted into epoch days (Integer) for DATE fields.
3. Number values are converted into Double for DOUBLE fields.
@stephaniewang526 stephaniewang526 added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 9, 2021
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 9, 2021
@stephaniewang526 stephaniewang526 added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Nov 9, 2021
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 9, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 9, 2021
@stephaniewang526 stephaniewang526 merged commit 9c8dc0a into googleapis:main Nov 9, 2021
gcf-merge-on-green bot pushed a commit that referenced this pull request Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DATE and DOUBLE should support more input formats

4 participants