David Cromberge
11/02/2022, 10:21 AMbalci
11/21/2022, 3:56 PMMathieu Druart
11/23/2022, 7:13 PMRishab Dawar
11/25/2022, 7:15 AMCaleb Shei
12/07/2022, 2:34 PM@Override
public void copyFromLocalFile(File srcFile, URI dstUri)
throws Exception {
if (srcFile.isDirectory()) {
throw new IllegalArgumentException(srcFile.getAbsolutePath() + " is a direactory");
}
_hadoopFS.copyFromLocalFile(new Path(srcFile.toURI()), new Path(dstUri));
}
public void copyFromLocalDir(File srcFile, URI dstUri)
throws Exception {
Path srcPath = new Path(srcFile.toURI());
if (!_hadoopFS.isDirectory(srcPath)) {
throw new IllegalArgumentException(srcFile.getAbsolutePath() + " is not a directory");
}
_hadoopFS.copyFromLocalFile(srcPath, new Path(dstUri));
}
Xiang Fu
Evan Galpin
12/09/2022, 12:47 AMmvn
command to get things bootstrapped, I keep running into an issue with checkstyle:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (checkstyle) on project pinot-common: You have 2 Checkstyle violations. -> [Help 1]
This is being run on apache/pinot:master
. Is there a maven command/routine set up to auto-fix violations? I did try a few things I found online for auto-fixing checkstyle[1] but it hasn’t been fruitful.
This is blocking me from building from source and developing locally. Any suggestions?
[1] https://docs.openrewrite.org/tutorials/running-recipes/automatically-fix-checkstyle-violationsDriss
12/12/2022, 8:10 AMfrancoisa
12/15/2022, 9:21 AM@ScalarFunction(nullableParameters = true)
public static String jsonPathString(@Nullable Object object, String jsonPath, String defaultValue) {
try {
Object jsonValue = jsonPath(object, jsonPath);
if (jsonValue instanceof String) {
return (String) jsonValue;
}
return jsonValue == null ? defaultValue : JsonUtils.objectToString(jsonValue);
} catch (Exception ignore) {
return defaultValue;
}
}
to
@ScalarFunction(nullableParameters = true)
public static String jsonPathString(@Nullable Object object, String jsonPath, String defaultValue) {
try {
Object jsonValue = jsonPath(object, jsonPath);
if ((jsonValue instanceof String) && (!String.valueOf(jsonValue).isBlank())) {
return (String) jsonValue;
}
return jsonValue == null || String.valueOf(jsonValue).isBlank()
? defaultValue : JsonUtils.objectToString(jsonValue);
} catch (Exception ignore) {
return defaultValue;
}
}
Doing that allow me to set a default value on the blank string also. Thats can be helpfull on many use cases. Is that interesting to get that as a PR ? If not do I have a way to surcharge this with a provided jar or something easy to integrate ?Bobby Richard
12/18/2022, 7:39 PMjava.lang.reflect.InaccessibleObjectException: Unable to make field private static final long java.util.Collections$SingletonList.serialVersionUID accessible: module java.base does not "opens java.util" to unnamed module @78e94dcf
Evan Galpin
12/19/2022, 10:10 PMjava: incompatible types: org.apache.pinot.shaded.com.fasterxml.jackson.databind.JsonNode cannot be converted to com.fasterxml.jackson.databind.JsonNode
Any thoughts on a fix?Driss
12/20/2022, 7:23 AMError: invalid version, 1.16 is no longer supported, supported values: 1.20, 1.21, 1.22, 1.23, 1.24
. Is it necessary to update the documentation ? or is it related to my local environment ?Richard
01/03/2023, 7:04 PMWeixiang Sun
01/03/2023, 8:04 PMrobert zych
01/09/2023, 1:47 AMDriss
01/09/2023, 7:17 AMJackie
01/10/2023, 12:41 AM'%'
which can cause unnecessary overhead, and complicates the code. We have enforced the padding to be '\0'
about 5 years ago in this PR, so this change can only affect the very early user of Pinot (probably only LinkedIn). @Sidd @Subbu Subramaniam Let me know if you have concern on thisJuan Gomez
01/11/2023, 2:13 AMjava: cannot find symbol
symbol: method eq(long)
location: variable rangeBitmap of type org.roaringbitmap.RangeBitmap
Juan Gomez
01/11/2023, 2:13 AMfrancoisa
01/17/2023, 8:11 AMSegmentPurgerFactory
Actually I do some edit on the BaseMinionStarter
and then compile pinot to deploy it. But I would like to get an easy way to integrate my own business logic in the pinot code base. Is there a way to override it using the plugin mecanism like custom UDF ?balci
02/01/2023, 8:12 PMEvan Galpin
02/06/2023, 10:41 PMAndi Miller
02/15/2023, 7:45 PMio.grpc:protoc-gen-grpc-java:exe:osx-aarch_64:1.41.0
) and on linux it's trying to download and run a non-static binary for protoc which breaks because I'm on nixosAndi Miller
02/15/2023, 11:00 PMabhinav wagle
02/16/2023, 9:20 PMRichard Gyger
02/17/2023, 4:44 PMPratik Tibrewal
02/17/2023, 5:12 PMJuan Gomez
02/19/2023, 6:46 PMahmali86
02/20/2023, 4:01 PMGonzalo Ortiz
02/21/2023, 12:28 PM