xudong963 commented on issue #1194: URL: https://github.com/apache/arrow-datafusion/issues/1194#issuecomment-953928971
> #1195 may be the same underlying cause @alamb Nice! It's the same cause. ``` > CREATE EXTERNAL TABLE foo(x int) STORED AS CSV LOCATION '/tmp/foo.csv'; 0 rows in set. Query took 0.002 seconds. > select percent_rank() OVER (partition by x) from foo; +----------------+ | PERCENT_RANK() | +----------------+ | 0 | +----------------+ 1 row in set. Query took 0.019 seconds. > select percent_rank() OVER (partition by null) from foo; +----------------+ | PERCENT_RANK() | +----------------+ | 0 | +----------------+ 1 row in set. Query took 0.014 seconds. > select percent_rank() OVER (partition by x order by null) from foo; +----------------+ | PERCENT_RANK() | +----------------+ | 0 | +----------------+ 1 row in set. Query took 0.014 seconds. > ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
