redash icon indicating copy to clipboard operation
redash copied to clipboard

CSV still a viable DataSource

Open sourkidk opened this issue 1 year ago • 10 comments

Discussed in https://github.com/getredash/redash/discussions/6078

Originally posted by sourkidk June 4, 2023 I'm hoping to use csv files published to a url as datasource, and I can see in the documentation the syntax for how it should be done. However, there doesn't seem to be a datasource type that matches this use, and I cannot get the query to execute in other types.

Here's a link to the doc page.

https://redash.io/help/data-sources/querying/csv-excel-files

sourkidk avatar Jun 05 '23 18:06 sourkidk

Just tested using the CSV source and query:

url: https://pkgstore.datahub.io/core/country-list/data_csv/data/d7c9d7cfb42cb69f4422dec222dbbaa8/data_csv.csv

And it works ok

rutson avatar Aug 25 '23 16:08 rutson

There was a problem with excel and csv querys but it should have been fixed with this PR https://github.com/getredash/redash/pull/6439

deathvulture avatar Oct 07 '23 01:10 deathvulture

There was a problem with excel and csv querys but it should have been fixed with this PR #6439

looks like the problem is still here( - https://images2.imgbox.com/0c/87/DfJfLPGA_o.png how can i avoid this error?

kupletist avatar Oct 10 '23 14:10 kupletist

@kupletist, it looks like your source is of type 'Query results' image

it needs to be of type CSV image

rutson avatar Oct 10 '23 14:10 rutson

Hi Rutson! But i don't have such a data source at self-hosted Redash, unfortunately - https://redash.io/help/data-sources/querying/supported-data-sources

kupletist avatar Oct 10 '23 14:10 kupletist

Oh, that's odd. Also self hosted (v10.1.0). If I go to Settings then + New Data Source I see CSV as an option

image

rutson avatar Oct 10 '23 14:10 rutson

Wow, i have an 8.0 version... I think it's time to upgrade. Thanks!

kupletist avatar Oct 10 '23 14:10 kupletist

Sorry for my next question: just upgraded, but how to get to Initial Setup screen? Redash throws me only to Login screen, but i need to get to the first screen, with admin setup... (can't login, cause all accounts have been deleted). maybe there is some easy way, with changing .env file, for example...

kupletist avatar Oct 10 '23 17:10 kupletist

I don't know that I'm afraid, but we're definitely off topic now - maybe try https://github.com/getredash/redash/discussions/ ?

rutson avatar Oct 10 '23 17:10 rutson

Did you use this guide? https://redash.io/help/open-source/admin-guide/how-to-upgrade. If you can't make it work you may try ,as @rutson said, to open a new discussion.

deathvulture avatar Oct 10 '23 21:10 deathvulture