shivam sood
12/16/2021, 11:25 AMMahesh babu
12/17/2021, 10:08 AM"dateTimeFieldSpecs": [
{
"name": "Date_Time",
"dataType": "STRING",
"format": "1:DAYS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss",
"granularity": "1:HOURS"
}
]
But data in the table is showing Null.Priyank Bagrecha
12/17/2021, 6:28 PMDec 17, 2021 5:50:05 PM org.jvnet.mimepull.WeakDataFile close
INFO: File /tmp/MIME4374416604904663586.tmp was not deleted
in controller logs. at the same time i am seeing connection timeouts from servers to controller. i just restarted controller to see if it fixes the issuePriyank Bagrecha
12/17/2021, 6:33 PMAyush Kumar Jha
12/21/2021, 5:11 AMPriyank Bagrecha
12/28/2021, 10:56 PMSyed Akram
01/03/2022, 8:49 AMValentin Mahrwald
01/05/2022, 12:43 PMselect positionid, LASTWITHTIME(quantity, asoftime, 'DOUBLE') from position where asoftime < "some snapshot time" group by positionid
, which would then be further enriched in Trino).
Would it be reasonable to expect the enable.case.insensitive setting to also apply to query options?xtrntr
01/06/2022, 9:59 AMin_subquery
query fails:
SELECT userid FROM table WHERE IN_SUBQUERY(cell_id, 'SELECT ID_SET(id) FROM dimTable WHERE location IN (...)')
ProcessingException(errorCode:150, message:PQLParsingError:
org.apache.pinot.sql.parsers.SqlCompilationException: Unsupported filter kind: IN_SUBQUERY
at org.apache.pinot.sql.parsers.rewriter.PredicateComparisonRewriter.updateComparisonPredicate(PredicateComparisonRewriter.java:58)
at org.apache.pinot.sql.parsers.rewriter.PredicateComparisonRewriter.rewrite(PredicateComparisonRewriter.java:37)
at org.apache.pinot.sql.parsers.CalciteSqlParser.queryRewrite(CalciteSqlParser.java:373)
at org.apache.pinot.sql.parsers.CalciteSqlParser.compileCalciteSqlToPinotQuery(CalciteSqlParser.java:367))
am i using it wrong?Mark Needham
Mark Needham
Mark Needham
xtrntr
01/06/2022, 11:22 AM= 1
at the end. thanks for the catchSadim Nadeem
01/07/2022, 5:42 AM[
{
"message": "8 segments [test_alerts__13__79__20220106T0532Z, test_alerts__43__77__20220106T0528Z, test_alerts__16__79__20220106T0533Z, test_alerts__1__78__20220106T0538Z, test_alerts__19__79__20220106T0535Z, test_alerts__4__81__20220106T0539Z, test_alerts__10__80__20220106T0540Z, test_alerts__37__78__20220106T0539Z] unavailable",
"errorCode": 305
}
Sadim Nadeem
01/09/2022, 11:25 AM{
"schemaName": "audit_log_schema",
"dimensionFieldSpecs": [
{
"name": "TenantID",
"dataType": "STRING"
},
{
"name": "Request",
"dataType": "STRING"
},
{
"name": "Response",
"dataType": "STRING"
},
{
"name": "APIEndpoint",
"dataType": "STRING"
}
],
"dateTimeFieldSpecs": [
{
"name": "TimestampInEpoch",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
},
{
"name": "Timestamp",
"dataType": "STRING",
"format": "1:HOURS:SIMPLE_DATE_FORMAT:dd/MM/yyyy HH:mm:ss",
"granularity": "1:SECONDS"
}
]
}
Error response on Swagger Rest API endpoint for adding a schema is :-
"error": "Cannot add invalid schema: audit_log_schema. Reason: SIMPLE_DATE_FORMAT pattern dd/MM/yyyy HH:mm:ss has to be sorted by both lexicographical and datetime order"
Sadim Nadeem
01/09/2022, 11:36 AM"dateTimeFieldSpecs": [
{
"name": "time",
"dataType": "STRING",
"format": "1:HOURS:SIMPLE_DATE_FORMAT:yyyy-MM-dd'T'HH:mm:ss'Z'",
"granularity": "1:SECONDS"
}
]
even this below fails with below error (Error: Bad Request
{
"code": 400,
"error": "Cannot add invalid schema: cilium_alerts_test2. Reason: SIMPLE_DATE_FORMAT pattern dd/MM/yyyy'T'HH:mm:ss'Z' has to be sorted by both lexicographical and datetime order"
}
error format
{
            "name": "time",
            "dataType": "STRING",
            "format": "1:HOURS:SIMPLE_DATE_FORMAT:dd/MM/yyyy'T'HH:mm:ss'Z'",
            "granularity": "1:SECONDS"
        }
this below format in schema also works successfully cc: @Xiang Fu @Mayank
"dateTimeFieldSpecs": [{
        "name": "timestamp",
        "dataType": "LONG",
        "format": "1:MILLISECONDS:EPOCH",
        "granularity": "1:MILLISECONDS"
    }]
}
Sadim Nadeem
01/09/2022, 4:27 PM"dateTimeFieldSpecs": [
{
"name": "time",
"dataType": "STRING",
"format": "1:HOURS:SIMPLE_DATE_FORMAT:yyyy-MM-dd'T'HH:mm:ss'Z'",
"granularity": "1:SECONDS"
}
]
xtrntr
01/10/2022, 12:57 PM$MY_SORTED_COLUMN.isSorted = true
in the segment metadata.properties
file
even though https://docs.pinot.apache.org/configuration-reference/table says:
The column which is sorted in the data and hence will have a sorted index. This does not need to be specified for the offline table, as the segment generation job will automatically detect the sorted column in the data and create a sorted index for it.
Kamal Chavda
01/12/2022, 9:49 PM2022/01/12 21:41:23.242 ERROR [PinotClientRequest] [jersey-server-managed-async-executor-7] Caught exception while processing POST request
java.lang.NullPointerException: null
at org.apache.pinot.broker.requesthandler.BaseBrokerRequestHandler.handleSQLRequest(BaseBrokerRequestHandler.java:243) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.apache.pinot.broker.requesthandler.BaseBrokerRequestHandler.handleRequest(BaseBrokerRequestHandler.java:194) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.apache.pinot.broker.requesthandler.BaseBrokerRequestHandler.handleRequest(BaseBrokerRequestHandler.java:99) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.apache.pinot.broker.api.resources.PinotClientRequest.processSqlQueryPost(PinotClientRequest.java:175) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.lambda$apply$0(ResourceMethodInvoker.java:381) ~[pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$2$1.run(ServerRuntime.java:819) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.internal.Errors.process(Errors.java:292) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.internal.Errors.process(Errors.java:274) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.internal.Errors.process(Errors.java:244) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$2.run(ServerRuntime.java:814) [pinot-all-0.8.0-jar-with-dependencies.jar:0.8.0-c4ceff06d21fc1c1b88469a8dbae742a4b609808]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Anyone come across this?xtrntr
01/13/2022, 4:37 AMpinot.server.query.executor.min.segment.group.trim.size=-1
pinot.server.query.executor.min.server.group.trim.size=-1
pinot.server.query.executor.groupby.trim.threshold=-1
doesn’t seem to affect my group by query limit, im still getting limited to 2M rows (2 servers)
postfixing my query with
OPTION(minServerGroupTrimSize=-1)
also doesn’t workxtrntr
01/13/2022, 4:38 AMgroupLimitReached=false
in my queries. this is for a group by query on a column with a cardinality of 8.5Mxtrntr
01/13/2022, 4:39 AM0.9.1
Mayank
Aditya
01/13/2022, 5:01 PMcontroller.host=10.11.5.105
controller.port-9000
controller.access.protocols=http
controller.access.protocols.http.port=9000
controller.zk.str=10.11.5.105:2181
controller.helix.cluster.name=defaultpinot
controller.data.dir=/tmp/pinot/data/controller
The controller right now uses local fs for storing segments
After uploading a segment using SegmentCreationAndTarPush job, the segment is in bad state
Port in download url is null
"segment.download.url": "<http://10.11.5.105:*null*/segments/transcript/transcript_OFFLINE_1570863600000_1572418800700_0>"
What config parameter could be missing here?
Also tried assigning host name via command param -controllerHost, using this option the host name is correctly assigned and segment url has port no
I'll be setting up s3 deep store so using config file may be the only option in futureMark Needham
=
next to controller.port
, there's a hyphen there insteadabhinav wagle
01/14/2022, 2:53 AMLaunchDataIngestionJobCommand
does not have main method.Syed Akram
01/20/2022, 10:40 AM