Closed cbruno10 closed 1 year ago
'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
'This issue was closed because it has been stalled for 90 days with no activity.'
Will leave this issue closed for now, as we have no immediate plans to work on it. Empty CSVs are also fairly uncommon I think, but if anyone is encountering this issue frequently or has input, please add any comments here and we can re-open.
Describe the bug If the plugin's
paths
matches one or more.csv
file that contains no data, the plugin fails to initialize.Steampipe version (
steampipe -v
) v0.17.4Plugin version (
steampipe plugin list
) v0.5.0To reproduce
empty.csv
in one of the directories inpaths
config arg, which contains no datasteampipe query
~/.steampipe/logs/plugin-<date>.log
Expected behavior Should the plugin skip over empty or malformed CSV files? This was previously discussed in https://github.com/turbot/steampipe-plugin-csv/issues/40 and https://github.com/turbot/steampipe-plugin-csv/issues/31, as these issues were more common previously when the header was expected to be valid all of the time.
Additional context Add any other context about the problem here.