-
Notifications
You must be signed in to change notification settings - Fork 350
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
[Bug]: database field definitions for integer with length = 0 are not created as integer #4268
Comments
.take-issue |
@hansva The code handling the creation of integer and floating point fields seems inconsistent between different database systems in Hop. If I am going to touch these code paths, I would try to make this more consistent. My suggestion is: What do you think? |
that sounds right. |
updated database schema generations für AS400, Cache, Clickhouse, CrateDB and DB2 from #4268
…d and the generic database template
fix database schema generation w.r.t. #4268 for additional databases
Apache Hop version?
2.9
Java version?
17
Operating system
Linux
What happened?
There is a logical mistake in the conditions of several implementations of getFieldDefinition() from Interface org.apache.hop.core.database.IDatabase. This leads to Integer fields being generated as a different data type, usually double precision float, when no length is set. Looks like the code section containing this bug has been copy&pasted to many different database implementations inside Hop.
This bug affects components "down the line", compare e.g. #4174
Issue Priority
Priority: 2
Issue Component
Component: Database
The text was updated successfully, but these errors were encountered: