Skip to content
Discussion options

You must be logged in to vote

The discussion you linked to says that (emphasis mine):

You're using Python so the answer is yes, core does not support this

There is no C API to influence how read_json_auto works so there is nothing I can do about it.

What you could do as a workaround, is to create a user-defined table function that will take a json string and convert it in the table to create a function that will fetch the json and return it as a table. For example, something like this:

CREATE TABLE x AS SELECT * FROM read_json_from_some_service(service_param1, service_param2, ... service_param_n)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fthbrmnby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants