Slackbot
01/05/2024, 11:29 AMBibek Sahoo
01/05/2024, 11:54 AMdruid.generic.useDefaultValueForNull
When druid.generic.useDefaultValueForNull = true (legacy mode), Druid instead substitutes a default value, including when NULL values cast to non-nullable types. For example, if druid.generic.useDefaultValueForNull = true, a null VARCHAR cast to BIGINT is converted to a zero.
You could manually change the default and retry.Gururaj K.P
01/05/2024, 11:58 AMBibek Sahoo
01/05/2024, 11:59 AMGururaj K.P
01/05/2024, 12:00 PMGururaj K.P
01/05/2024, 12:07 PMBibek Sahoo
01/05/2024, 12:08 PMBibek Sahoo
01/05/2024, 12:10 PM{"timestamp":"2016-06-27T00:00:11.080Z","number":,"comment":"empty","namespace":"Main"}
{"timestamp":"2016-06-27T00:00:34.959Z","number":,"comment":"empty","namespace":"Main"}
{"timestamp":"2016-06-27T00:00:36.027Z","number":217,"comment":"non-empty","namespace":"Main"}Gururaj K.P
01/05/2024, 12:14 PMGururaj K.P
01/05/2024, 12:14 PMBibek Sahoo
01/05/2024, 12:15 PMBibek Sahoo
01/05/2024, 12:16 PMGururaj K.P
01/05/2024, 12:19 PMBen Krug
01/05/2024, 10:48 PM"druid.generic.useDefaultValueForNull": false . Otoh, as you say, it should be false by default. If you're able to pass it, let us know whether it helps.Gururaj K.P
01/07/2024, 11:05 AMSergio Ferragut
01/08/2024, 2:45 PMdruid_generic_useDefaultValueForNull: false in the configVars: section.Sergio Ferragut
01/08/2024, 2:48 PMimage:
repository: apache/druid
tag: 24.0.0
Did you change it?Gururaj K.P
01/08/2024, 5:29 PMGururaj K.P
01/09/2024, 5:50 AMSergio Ferragut
01/09/2024, 3:40 PMdruid_generic_useDefaultValueForNull: false?Gururaj K.P
01/09/2024, 5:03 PMGururaj K.P
01/11/2024, 10:48 AMSergio Ferragut
01/11/2024, 2:43 PM