Piyush Chauhan
08/24/2022, 5:03 AMid
(primary key in schema) and updated exception_count
and updated_at
it created a new record (1st row).
When querying from Query Console is the the attached results where for the given id.
But when I query using the Java client I get on the 1 record i.e. older record whose updated at value 1660654106.
*All of the columns in the ss are actual columns. They are not derived.Mayank
Piyush Chauhan
08/24/2022, 5:50 AMPiyush Chauhan
08/24/2022, 5:51 AMMayank
Piyush Chauhan
08/25/2022, 10:56 AM{
"mode": "PARTIAL",
"partialUpsertStrategies": {
"exception_count": "OVERWRITE",
},
"hashFunction": "NONE"
}
Mayank
Kartik Khare
08/25/2022, 2:32 PMKartik Khare
08/25/2022, 2:32 PMBut when I query using the Java client I get on the 1 record i.e. older record whose updated at value 1660654106.
This is weird. Do you have multi server setup or a single server?Piyush Chauhan
08/26/2022, 11:14 AMKartik Khare
08/26/2022, 11:17 AMPiyush Chauhan
08/26/2022, 11:31 AMPiyush Chauhan
08/26/2022, 11:32 AMKartik Khare
08/26/2022, 11:34 AMPiyush Chauhan
08/29/2022, 4:46 AMPiyush Chauhan
08/29/2022, 4:46 AMprivate ResultSet runQuery(String query) {
Request pinotClientRequest = new Request("sql", query);
try {
ResultSetGroup pinotResultSetGroup = pinotConnection.execute(pinotClientRequest);
return pinotResultSetGroup.getResultSet(0);
} catch (PinotClientException e) {
log.error("Query Error, Query:{}", query, e);
throw GenericExceptionFactory.getGenericException(VisibilityErrorCode.DB_ERROR,
"DB Query Failed");
}
}
Piyush Chauhan
08/29/2022, 4:46 AMPiyush Chauhan
08/29/2022, 5:10 AMKartik Khare
08/29/2022, 6:58 AMquery
part as wellSid
09/01/2023, 8:05 AM