mattcasters opened a new issue, #7251:
URL: https://github.com/apache/hop/issues/7251

   ### Apache Hop version?
   
   2.18.0
   
   ### Java version?
   
   OpenJDK 21
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   Hop has traditionally been a bit unstable with respect to numeric data 
types.  I traced it back to the method `IDatabase.getValueFromSqlType()` where 
all value metadata types are asked to take a stab at the type. The order in 
which this happens is a bit arbitrary.  The first issue is that BigNumber gets 
asked before Integer and Number.  Worse, types like ValueMetaNone and 
ValueMetaGraph are extending ValueMetaBase which then become the final answer 
when all else fails.  It's then accepted as a valid response.  In short: it's a 
bit of a fundamental issue.  To make this work in a stable way, the method in 
ValueMetaBase should be migrated out to the different data types.
   
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Database


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to