Details
Description
Code Sample (copy-pasteable)
import pyarrow.parquet as pq pq.read_table(None)
Description
The above snippet will produce a Segmentation Fault, which is highly undesirable. The reason I discovered this, was I had a function that was supposed to return a file path, but on my first iteration I forgot to return. Thus, when I ran my module with
pq.read_table(generate_fp())
it produced a Segmentation Fault.
Expected OutputĀ
Ideally this will raise an ValueError, indicating to the user that None is an invalid source/file path. In my opinion, this is much more desirable than a violent segfault.
Attachments
Issue Links
- links to