[HOP-Coalesce] - Fixes bug in Coalesce plugin#1635
Conversation
|
Confirmed, so the problem actually is the binary-string types. |
|
Just wanted to add that this breaks every other case except binary-string, but you noticed it too |
I get it. I modified it again |
|
You will have to revert the Mysql change though, the IValueMeta.TYPE_DATE is a Java Date and contains date + Time. The difference between IValueMeta.TYPE_DATE and IValueMeta.TYPE_TIMESTAMP is the objects behind it |
|
The generated DDL does not show the actual DDL of the table, it shows how we would create the table. A Hop "Date" is DateTime and if we select a MySQL Date from a table we have to convert it to a Hop Date and will contain time again (00:00:00 timestamp in the backend). I know it's a bit annoying but we will have more errors if we suggest the Date type because people will wonder where their time has gone. Edit: |
OK ,I understand. thank you @hansva |









I found that the result always takes the first column regardless of whether the first column is null or not