dataview DQL block cannot parse tsv data when the file's extension is .tsv, but can do so when the same data is in a .csv file #2540
Labels
bug
Something isn't working.
documentation
Improvements or additions to documentation
DQL
Query language UX, issues, and features.
What happened?
As stated in the title, when tsv data is stored in a
.tsv
file, the functioncsv()
(for importing csv data) in a dataview DQL block cannot parse that file, but when the same data is stored in a.csv
file, it can parse that data without any problem.It would be great if
csv()
can also accept.tsv
filesDQL
The following is one minimal example. Create two files named
test.csv
andtest.tsv
, both files containing the same following text:(In particular,
test.csv
will be a file with csv-extension but tsv data.) Put both files at the root folder of your vault.Now create a note, also at the root folder of your vault, with the following code block inside.
This will render as an empty space ("Dataview: No results to show for table query."). But if you parse the csv-extension file instead,
then the table shows up without any problem.
JS
Dataview Version
0.5.67
Obsidian Version
1.8.9
OS
Windows
The text was updated successfully, but these errors were encountered: