Laxman Ch
06/14/2022, 6:20 PM0.7.1
to 0.10.0
.causing compatibility issues with old avro boolean fields with default values. Any specific migration steps here to be followed?Kishore G
Laxman Ch
06/14/2022, 6:35 PM• you can change dimensions to metricsIt's failing @Kishore G. FieldSpecs are different classes (DimensionFieldSpec vs MetricFieldSpec) https://github.com/apache/pinot/blob/release-0.10.0/pinot-spi/src/main/java/org/apache/pinot/spi/data/FieldSpec.java#L334 org.apache.pinot.spi.data.FieldSpec#equals
if (EqualityUtils.isNullOrNotSameClass(this, o)) {
return false;
}
Kishore G
Laxman Ch
06/14/2022, 6:41 PMKishore G
Laxman Ch
06/14/2022, 6:44 PMKishore G
Laxman Ch
06/14/2022, 6:56 PMLaxman Ch
06/17/2022, 2:10 AM• you can change dimensions to metricsInterestingly, these changes are allowed in 0.7.1 After 0.10.0 upgrade, these changes are not allowed and reported as incompatible. However, the code snippets I posted above looks like they are there in 0.7.1 as well. Somehow, the path got activate only after upgrade. cc: @Ravi Singal
Laxman Ch
06/17/2022, 4:16 PMLaxman Ch
06/21/2022, 9:24 AM{
"name": "start_time_millis",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
}
version-2
{
"name": "start_time_millis",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "15:MILLISECONDS"
}
Not sure if this really is an incompatible change?
Can we please fix this? Currently it's too restrictive and almost doesn't allow any changes to schema apart from adding a new field.Mayank
Laxman Ch
06/21/2022, 10:41 AMMayank
Laxman Ch
06/21/2022, 10:57 AMMayank
Laxman Ch
06/21/2022, 11:02 AMforce
flag in one of the old PRs. However, that looks to be reverted.Mayank
Laxman Ch
06/21/2022, 11:07 AMMayank
Mayank
Laxman Ch
06/21/2022, 11:44 AM