Carlos
01/17/2023, 4:19 PMSeunghyun
01/17/2023, 8:59 PMCarlos
01/18/2023, 7:35 AMGerardJ
01/23/2023, 7:48 PMTrust Okoroego
01/25/2023, 11:22 PMINSERT INTO "orders" FROM FILE '<s3://xxxxxx/>'
OPTION(
taskName=myTask-s3,
input.fs.className=org.apache.pinot.plugin.filesystem.S3PinotFS,
input.fs.prop.accessKey=xxxxxxx,
input.fs.prop.secretKey=xxxxxxxxx,
authToken='Basic xxxxxx=='
input.fs.prop.region=us-east-1
)
I got bellow error message
ProcessingException(errorCode:450, message:InternalError:
org.apache.pinot.sql.parsers.SqlCompilationException: Caught exception while parsing query: INSERT INTO "orders"
FROM FILE '<s3://xxxxxxxx>'
at org.apache.pinot.sql.parsers.CalciteSqlParser.compileToSqlNodeAndOptions(CalciteSqlParser.java:136)
at org.apache.pinot.controller.api.resources.PinotQueryResource.executeSqlQuery(PinotQueryResource.java:135)
at org.apache.pinot.controller.api.resources.PinotQueryResource.handlePostSql(PinotQueryResource.java:103)
...
Caused by: org.apache.pinot.sql.parsers.SqlCompilationException: OPTION statement requires two parts separated by '='
at org.apache.pinot.sql.parsers.CalciteSqlParser.extractOptionsMap(CalciteSqlParser.java:486)
at org.apache.pinot.sql.parsers.CalciteSqlParser.compileToSqlNodeAndOptions(CalciteSqlParser.java:131)
... 27 more)
removing the authToken line I get below error
[
{
"message": "QueryExecutionError:\norg.apache.commons.httpclient.HttpException: Unable to get tasks states map. Error code 400, Error message: {\"code\":400,\"error\":\"No task is generated for table: orders, with task type: SegmentGenerationAndPushTask\"}\n\tat org.apache.pinot.common.minion.MinionClient.executeTask(MinionClient.java:123)\n\tat org.apache.pinot.core.query.executor.sql.SqlQueryExecutor.executeDMLStatement(SqlQueryExecutor.java:102)\n\tat org.apache.pinot.controller.api.resources.PinotQueryResource.executeSqlQuery(PinotQueryResource.java:145)\n\tat org.apache.pinot.controller.api.resources.PinotQueryResource.handlePostSql(PinotQueryResource.java:103)",
"errorCode": 200
}
]
Rahul Patwari
01/28/2023, 1:48 PMPinot only allows adding new columns to the schema. In order to drop a column, change the column name or data type, a new table has to be created.Is this applicable only for realtime tables (or) offline tables as well? Are there any plans to support renaming of a column? Any reasons why renaming is not supported?
K.K. GAYAN SANJEEWA
01/30/2023, 4:47 AMDimuth
02/01/2023, 10:32 AMDimuth
02/01/2023, 10:35 AMAmol
02/07/2023, 4:32 AMpiby
02/09/2023, 1:10 PM2023/02/09 13:00:24.206 INFO [AddTableCommand] [main] Executing command: AddTable -tableConfigFile null -offlineTableConfigFile /var/pinot/data/epoch_table_offline_table_config.json -realtimeTableConfigFilenull -schemaFile /var/pinot/data/epoch_table_schema.json -controllerProtocol http -controllerHost pinot-controller -controllerPort 9000 -user null -password [hidden] -exec
2023/02/09 13:00:24.514 INFO [AddTableCommand] [main] {"code":400,"error":"TableConfigs: epoch_table already exists. Use PUT to update existing config"}
Mark Needham
02/09/2023, 3:01 PM-update
flagMark Needham
02/09/2023, 3:01 PMJulius Norinder
02/10/2023, 3:20 PMAshwin Raja
02/11/2023, 2:41 AMmy-table_0_10_0
) points at parquet file in s3 <s3://my-bucket/data/part-0000-abc.parquet>
• I'd like to replace that segment; I have REST API access to everything, but can't exec into my controller or anything like that.
• My table has, let's say 100 segments
• If I just replace that file and rerun minion based ingestion via my tables SegmentGenerationAndPush
task, it's going to kick off 100 tasks, which I don't really want to do, since that'll take a while and I just want my one segment
So is there a way to kick off only the subtask for that single file/segment?Dhar Rawal
02/13/2023, 8:36 PMIrtisaam
02/14/2023, 1:36 PMLewis Yobs
02/14/2023, 1:46 PM<https://dev.startree.ai/docs/pinot/getting-started/ingest-streaming-data-source>
Irtisaam
02/16/2023, 8:48 AMDhiwakar N A
02/21/2023, 3:27 PMShreeram Goyal
03/02/2023, 8:27 AMrealtime.segment.flush.threshold.rows
from 100000 to 10000 and then refreshing segments would also refresh the already committed segments i.e. segments would have 10000 entries now? Please let me knowpiby
03/02/2023, 5:47 PMpramod shenoy
03/04/2023, 12:33 AMSid
03/20/2023, 6:42 PMMark Needham
03/21/2023, 10:04 AMMaksim Levin
03/21/2023, 10:25 AMINSERT INTO
command in PQL for batch data import, what defines the degree of parallelism in this case? Number of minions' processors?Albert Latacz
03/21/2023, 10:31 AMKavya Vishwanath Bhadrappa
03/22/2023, 3:17 AMKun
03/25/2023, 9:23 AM{
"columnName": "converted_json",
"transformFunction": "map_keys(raw_json, x -> lower(x))"
}
Tanmay Varun
03/26/2023, 6:05 AM