Prototype/websocket boost.beast#168
Conversation
| in a MPP cluster (shared-nothing) environment. Leading the TPC-H benchmark, | ||
| it is considered the fastest analytical data warehouse available. A community | ||
| edition can be downloaded for free on | ||
| <https://docs.exasol.com/get_started/communityedition.htm>. |
| paste0("select * from exa_all_tables where table_schema = ", | ||
| schema, " and table_name=", name) | ||
| res <- sqlQuery(conn, qstr) | ||
| res <- exa.readData(conn, qstr) |
There was a problem hiding this comment.
Didn't read data use export, this would be expensive
There was a problem hiding this comment.
Replaced with .wsExecuteQuery also on many other places.
| .wsExecuteQuery(con, paste("open schema", schema)) | ||
| message(paste("Schema", schema, "found.")) | ||
| }, error = function(e) { | ||
| tryCatch({ |
There was a problem hiding this comment.
Simplified to:
.wsExecuteQuery(con, paste("create schema if not exists", schema))
.wsExecuteQuery(con, paste("open schema", schema))
|
|
||
| columns <- RODBC::sqlColumns(channel = connection, sqtable = name, schema = schema) | ||
|
|
||
| sql <- paste0("SELECT COLUMN_NAME, COLUMN_TYPE FROM SYS.EXA_ALL_COLUMNS WHERE COLUMN_SCHEMA = '", |
There was a problem hiding this comment.
There is probably a metadata request in the protocol for this
There was a problem hiding this comment.
I let the AI create ticket #169 for that, as this involves the C++ layer.
| tables <- RODBC::sqlTables(connection) | ||
| tables <- tables[tables$TABLE_TYPE %in% types,] | ||
| type_list <- paste0("'", types, "'", collapse = ", ") | ||
| sql <- paste0("SELECT TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE FROM SYS.EXA_ALL_TABLES WHERE TABLE_TYPE IN (", type_list, ")") |
There was a problem hiding this comment.
There is probably a request for this in the protocol
There was a problem hiding this comment.
I let the AI create ticket #169 for that, as this involves the C++ layer.
| #' EXASOL is an InMemory RDBMS that runs in a MPP cluster (shared-nothing) environment. Leading the TPC-H | ||
| #' benckmark, it is considered the fastest analytical data warehouse available. The community edition | ||
| #' benchmark, it is considered the fastest analytical data warehouse available. The community edition | ||
| #' can be downloaded for free on \url{https://docs.exasol.com/get_started/communityedition.htm}. |
| tables <- RODBC::sqlTables(connection) | ||
| tables <- tables[tables$TABLE_TYPE %in% types,] | ||
| type_list <- paste0("'", types, "'", collapse = ", ") | ||
| sql <- paste0("SELECT TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE FROM SYS.EXA_ALL_TABLES WHERE TABLE_TYPE IN (", type_list, ")") |
There was a problem hiding this comment.
I let the AI create ticket #169 for that, as this involves the C++ layer.
|
|
||
| columns <- RODBC::sqlColumns(channel = connection, sqtable = name, schema = schema) | ||
|
|
||
| sql <- paste0("SELECT COLUMN_NAME, COLUMN_TYPE FROM SYS.EXA_ALL_COLUMNS WHERE COLUMN_SCHEMA = '", |
There was a problem hiding this comment.
I let the AI create ticket #169 for that, as this involves the C++ layer.
No description provided.