Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading error message in type inference when list of files is empty #36317

Closed
alexey-milovidov opened this issue Apr 16, 2022 · 0 comments · Fixed by #36205
Closed

Misleading error message in type inference when list of files is empty #36317

alexey-milovidov opened this issue Apr 16, 2022 · 0 comments · Fixed by #36205

Comments

@alexey-milovidov
Copy link
Member

ip-172-31-5-46.eu-central-1.compute.internal :) SELECT count() FROM file('**/*.json', JSONEachRow)

SELECT count()
FROM file('**/*.json', JSONEachRow)

Query id: 4501adb2-7556-47db-a296-3950db3aaeb3


0 rows in set. Elapsed: 0.014 sec. 

Received exception:
Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors:
. (CANNOT_EXTRACT_TABLE_STRUCTURE)

It shows newline character instead list of errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant