I am use daft to read SQL server tables and write ...
# general
p
I am use daft to read SQL server tables and write to s3 bucket as parquet files. From time to time, I am seeing this error pops up: ERROR tiberius:tdsstream:token The function 'PERCENTILE_DISC' must have an OVER clause. code=10753 I'm not using PERCENTILE_DISC function in my SQL query. Wondering if this is from SQL statement generated by the Daft?
c
Yes, daft executes a PERCENTILE_DISC query to determine the partition bounds
If it fails, daft will retry using MIN and MAX
p
I see, if I understand correctly, I can ignore this error. By the way, according to the error, it complains about missing OVER clause. Is this an issue with the generated SQL statement?
c
Yes you can ignore it. And yes itโ€™s an issue with the generated sql ๐Ÿ˜“
๐Ÿ‘ 1