Skip to content

Empty Results #28

@superctj

Description

@superctj

Thank you for open-sourcing this package! I was wondering if the following behavior is expected when running metacrafter scan-file --format short world+City.csv :

Processing file /data/bird_sql/train_csv/world+City.csv

2024-07-03 02:21:56,613 - root - DEBUG - Start processing None

2024-07-03 02:21:56,632 - root - DEBUG - Processing 1000 records of None

2024-07-03 02:21:56,651 - root - DEBUG - Processing 2000 records of None

2024-07-03 02:21:56,670 - root - DEBUG - Processing 3000 records of None

2024-07-03 02:21:56,689 - root - DEBUG - Processing 4000 records of None

No results

The top-5 rows of the csv file are:

ID,Name,CountryCode,District,Population

1,Kabul,AFG,Kabol,1780000

2,Qandahar,AFG,Qandahar,237500

3,Herat,AFG,Herat,186800

4,Mazar-e-Sharif,AFG,Balkh,127800

I was expecting the CountryCode column will be recognized by metacrafter. Is there anything I am missing or did wrong?

By the way, I found the message "Start processing None" is confusing, which is attributed to this line of setting fromfile to None. Probably these debug messages can be improved to be more informative.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions