Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Generate correct values for datetime type fields #413

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

sbuerk
Copy link
Collaborator

@sbuerk sbuerk commented Jul 5, 2023

The database generator does not use the DataHandler for
all operation due to some performance considerations.

That means, that special handlings included in DataHandler
needs to be adopted - at least in a stripped down version.

For example, the DataHandler contains value transformation
for type = datetime when the dbType is one of following
types: datetime, time, timesec.

Until now, now records are created with this constellation.
To be able to add such fields in the future, we need to mimic
partly work done by the DataHandler for these type in record
generation.

Releases: main, 12

The database generator does not use the DataHandler for
all operation due to some performance considerations.

That means, that special handlings included in DataHandler
needs to be adopted - at least in a stripped down version.

For example, the DataHandler contains value transformation
for `type = datetime` when the `dbType` is one of following
types: `datetime`, `time`, `timesec`.

Until now, now records are created with this constellation.
To be able to add such fields in the future, we need to mimic
partly work done by the DataHandler for these type in record
generation.

Releases: main, 12
@sbuerk sbuerk merged commit b7b6cac into main Jul 6, 2023
25 checks passed
@sbuerk sbuerk deleted the generator-1 branch July 6, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants