xtrntr
07/31/2021, 12:45 PMQuery 20210731_123555_00024_7fd9g failed: Query SELECT count(*) FROM events WHERE (time > 1622085300) encountered exception {"message":"PQLParsingError:\norg.apache.pinot.sql.parsers.SqlCompilationException: Caught exception while parsing query: SELECT count(*) FROM events WHERE (time > 1622085300)\n\tat org.apache.pinot.sql.parsers.CalciteSqlParser.compileCalciteSqlToPinotQuery(CalciteSqlParser.java:324)\n\tat org.apache.pinot.sql.parsers.CalciteSqlParser.compileToPinotQuery(CalciteSqlParser.java:108)\n\tat org.apache.pinot.sql.parsers.CalciteSqlCompiler.compileToBrokerRequest(CalciteSqlCompiler.java:35)\n\tat org.apache.pinot.core.requesthandler.PinotQueryParserFactory.parseSQLQuery(PinotQueryParserFactory.java:46)\n\tat org.apache.pinot.broker.requesthandler.BaseBrokerRequestHandler.handleSQLRequest(BaseBrokerRequestHandler.java:212)\n\tat org.apache.pinot.broker.requesthandler.BaseBrokerRequestHandler.handleRequest(BaseBrokerRequestHandler.java:194)\n\tat org.apache.pinot.broker.requesthandler.BaseBrokerRequestHandler.handleRequest(BaseBrokerRequestHandler.java:99)\n\tat org.apache.pinot.broker.api.resources.PinotClientRequest.processSqlQueryPost(PinotClientRequest.java:175)\n\tat jdk.internal.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)","errorCode":150} with pinot query "SELECT count(*) FROM events WHERE (time > 1622085300)"
in pinot, time schema is like such:
"dateTimeFieldSpecs": [{
"name": "time",
"dataType": "LONG",
"format" : "1:SECONDS:EPOCH",
"granularity": "15:MINUTES"
}]
and when i run the supposedly erroneous query in pinot
SELECT count(*) FROM events WHERE (time > 1622085300)
there are no issues.xtrntr
08/01/2021, 4:56 AMpinot-quickstart
with extra configuration (https://docs.pinot.apache.org/integrations/presto#using-pinot-streaming-grpc-connector)
docker run \
--network pinot-demo \
--name=presto-coordinator \
-p 8080:8080 \
--mount type=bind,source=$SOURCE_DIR,target=/home/presto/data -d \
apachepinot/pinot-presto:latest
but it doesn’t seem like i’m allowed to do so?
https://github.com/apache/pinot/blob/master/docker/images/pinot-presto/Dockerfile#L55
i’m not very proficient with docker, can someone suggest how i can override the volume?Bruce Ritchie
08/01/2021, 4:53 PMBruce Ritchie
08/01/2021, 9:53 PMJackie
08/02/2021, 4:11 AMSadim Nadeem
08/02/2021, 7:41 AMPeter Pringle
08/02/2021, 12:00 PMNeil Teng
08/02/2021, 1:23 PMRyan Clark
08/02/2021, 4:12 PM<http://shaded.org|shaded.org>.apache.http.NoHttpResponseException: external_controller_uri:9000 failed to respond
.
I've done a backfill job on a new _OFFLINE table twice and in the last part of it, I've twice had a HTTP response error about 7 hours into a job.Deepak Mishra
08/02/2021, 6:10 PMWill Gan
08/02/2021, 8:23 PMArpita Bajpai
08/03/2021, 8:43 AMKenneth Koo
08/03/2021, 9:51 AMSadim Nadeem
08/03/2021, 11:47 AMeywek
08/03/2021, 12:10 PMpinot-controller_1 | 2021/08/03 12:00:19.766 ERROR [PulsarPartitionLevelConnectionHandler] [grizzly-http-server-3] Could not create pulsar consumer
pinot-controller_1 | org.apache.pulsar.client.api.PulsarClientException: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.codec.digest.DigestUtils.sha1Hex(java.lang.String)'
pinot-controller_1 | at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:978) ~[pinot-pulsar-0.8.0-SNAPSHOT-shaded.jar:0.8.0-SNAPSHOT-573651b28a6f89bd4895c992a5e8fa8e23df4615]
pinot-controller_1 | at org.apache.pulsar.client.impl.ReaderBuilderImpl.create(ReaderBuilderImpl.java:77) ~[pinot-pulsar-0.8.0-SNAPSHOT-shaded.jar:0.8.0-SNAPSHOT-573651b28a6f89bd4895c992a5e8fa8e23df4615]
pinot-controller_1 | at org.apache.pinot.plugin.stream.pulsar.PulsarPartitionLevelConnectionHandler.<init>(PulsarPartitionLevelConnectionHandler.java:56) ~[pinot-pulsar-0.8.0-SNAPSHOT-shaded.jar:0.8.0-SNAPSHOT-573651b28a6f89bd4895c992a5e8fa8e23df4615]
pinot-controller_1 | at org.apache.pinot.plugin.stream.pulsar.PulsarStreamMetadataProvider.<init>(PulsarStreamMetadataProvider.java:51) ~[pinot-pulsar-0.8.0-SNAPSHOT-shaded.jar:0.8.0-SNAPSHOT-573651b28a6f89bd4895c992a5e8fa8e23df4615]
Do you have any idea why this is happening?
Thank youBruce Ritchie
08/03/2021, 6:54 PMLaxman Ch
08/03/2021, 10:01 PMCarl
08/05/2021, 1:03 AMNisheet
08/05/2021, 6:05 AMDeepak Mishra
08/05/2021, 11:52 AMAbhay Rawat
08/05/2021, 2:43 PMjava.lang.NoClassDefFoundError: org/apache/pinot/client/JsonAsyncHttpPinotClientTransportFactory
and from DataGrip, when I try to add a datasource
I get Driver class 'org.slf4j.LoggerFactory' not found
if anyone has a working jdbc configuration, could you please sharebeerus
08/06/2021, 1:49 PMCarl
08/06/2021, 7:06 PMArpita Bajpai
08/09/2021, 10:02 AMSyed Akram
08/09/2021, 2:07 PMRoberto Díaz
08/10/2021, 11:58 AMnull
value.
The only way I have achieved to see data on the new column is restarting the server instances. Any idea about I have to do to get the data n the table after update the schema?
Note: following the documentation I added the property: pinot.server.instance.reload.consumingSegment=true
to my pinot-server-config
but the result is the same.Map
08/10/2021, 9:03 PMSELECT * FROM pinot.default."SELECT max(COL1) from table0";
Query 20210810_205808_00168_gj79s failed: class java.lang.String cannot be cast to class java.lang.Number (java.lang.String and java.lang.Number are in module java.base of loader 'bootstrap')
COL1
can be type of INT, LONG, FLOAT, or DOUBLE in here...not sure if someone has seen this before?Arpita Bajpai
08/11/2021, 4:49 AMxtrntr
08/11/2021, 9:49 PM$ time python3 queries.py
found 6812 userids
$ time python3 queries.py
found 6782 userids
$ time python3 queries.py
found 6895 userids
Deepak Mishra
08/13/2021, 8:57 AM