You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the server is connected to Schema Registry at startup, then it should check Schema Registry for any 'schema' that is identified by JSON configuration files, and created in Schema Registry, just as if the user had created the schema via the CLI. For example, the schema below should check to see if the 'cartoondb' schema is configured in Schema Registry
But you can't create a table, because it checks schema registry.
presto:cartoondb> create table s3.cartoondb.table1 ( id bigint, name varchar, balance double) WITH (has_header_row = 'false', FORMAT = 'CSV', external_location='s3a://testbucket/db1/' );
Query 20211104_154308_00008_cciqr failed: Group not found.
If you create a schema with a different name, and then use that, create table works
If the server is connected to Schema Registry at startup, then it should check Schema Registry for any 'schema' that is identified by JSON configuration files, and created in Schema Registry, just as if the user had created the schema via the CLI. For example, the schema below should check to see if the 'cartoondb' schema is configured in Schema Registry
{
"schemas": [
{
"schemaTableName": {
"schema_name": "cartoondb",
"table_name": "addressTable"
},
"s3Table": {
"name": "addressTable",
"columns": [
{
"name": "Name",
"type": "VARCHAR"
},
{
"name": "Address",
"type": "VARCHAR"
}
],
"sources": {"testbucket": ["cartoondb/cartoon_table.json"] },
"objectDataFormat": "json",
"hasHeaderRow": "false",
"recordDelimiter": "\n"
}
}
]
}
The text was updated successfully, but these errors were encountered: