Skip to content

Conversation

@DeltaMichael
Copy link
Contributor

Why?

As part of the work for vdk-oracle, we need to be able to pass datetime objects for ingestion. This is not possible with the current verification.

What?

Add datetime to the decimal json encoder
Make the encoder return timestamp for the datetime object Rename DecimalJsonEncoder to IngesterJsonEncoder

How was this tested

Ran locally with vdk-oracle
CI tests

What kind of change is this?

Feature/non-breaking

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/parse-datetime-for-oracle branch 3 times, most recently from a904ca7 to 095a5ef Compare November 22, 2023 20:58
@DeltaMichael DeltaMichael changed the title vdk-core: add datetime to decimal json encoder vdk-core: add datetime and bytes to decimal json encoder Nov 22, 2023
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/parse-datetime-for-oracle branch 2 times, most recently from 5becc6c to 4e1ae13 Compare November 23, 2023 09:55
Why?

As part of the work for vdk-oracle, we need to be able to pass datetime objects
for ingestion. This is not possible with the current verification.

What?

Add datetime to the decimal json encoder
Add bytes to the decimal json encoder
Make the encoder return timestamp for the datetime object
Make the encoder serialize bytes as a list of ints
Rename DecimalJsonEncoder to IngesterJsonEncoder

How was this tested

Ran locally with vdk-oracle
Unit and functional tests
CI tests

What kind of change is this?

Feature/non-breaking

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/parse-datetime-for-oracle branch from 4e1ae13 to 0037f74 Compare November 24, 2023 09:56
@murphp15 murphp15 enabled auto-merge (squash) November 24, 2023 09:59
@murphp15 murphp15 merged commit 4ca6338 into main Nov 24, 2023
@murphp15 murphp15 deleted the person/mdilyan/parse-datetime-for-oracle branch November 24, 2023 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants