1. No,
Pinot does not support direct spark writes. What is the use case?
2. Yes Null
support is in progress and isn’t available for aggregations yet
s
Siva Rajan
10/10/2023, 3:03 AM
Thanks ,
On spark use-case , our customer want one less ETL to monitor to track of load into Pinot and avoid intermediate persist. As now it has to be stored on hdfs/s3 and then again loaded.
Siva Rajan
10/10/2023, 5:43 AM
https://docs.pinot.apache.org/users/tutorials/ingest-parquet-files-from-s3-using-spark
As far as I understand from this documentation, It seems Pinot using Spark as one of the ways to to load and convert the data into Pinot segments.
Curious to know why can't use pinot jar (which converts the data into pinot format) directly in Spark job which user writes.
m
Mayank
10/10/2023, 5:46 AM
That Pinot jar requires physical files in certain formats to be available. It should be possible to convert it directly from data frame if that’s what you mean (but doesn’t exist today). @Jack I remember you did something like this in the past in closed source?
s
Siva Rajan
10/10/2023, 5:56 AM
Thanks for the prompt response. Following on the same lines. Currently, how this physical files will be read in the pinot-spark loader?.