How to get column names (and types) for a table #882
Replies: 4 comments 1 reply
-
Not sure why the data is not ready yet there but that seems to be outside of Mosaic. Rather than asking the connector, you can query the coordinator: https://idl.uw.edu/mosaic/api/core/coordinator.html#query. And if you are building a client for example with https://idl.uw.edu/mosaic/web-clients/, you can get a summary of the data in |
Beta Was this translation helpful? Give feedback.
-
Thanks, but if I do
I get Then I tied the client...
But this gave me:
So I seem to be working with the wrong objects or doing something strange here? My code (one commit) at will-moore/parade-crossfilter@6fe808c is deployed at |
Beta Was this translation helpful? Give feedback.
-
Ah - I worked out that I needed to call
However, I don't see |
Beta Was this translation helpful? Give feedback.
-
Ah, thanks.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on an app where users can load a csv table of their choosing, and then add various charts. E.g. plot one number column against another.
I need a way to determine what columns are in the table, and whether they contain numbers or strings.
I was hoping to be able to simply query the DuckDB table with
DESCRIBE
(https://duckdb.org/docs/stable/guides/meta/describe.html), but trying this as below didn't give me anything. So I'm clearly doing this wrong...Thanks
Beta Was this translation helpful? Give feedback.
All reactions