Skip to content

Prototype/websocket boost.beast#168

Open
tomuben wants to merge 36 commits into
mainfrom
prototype/websocket_boost.beast
Open

Prototype/websocket boost.beast#168
tomuben wants to merge 36 commits into
mainfrom
prototype/websocket_boost.beast

Conversation

@tomuben

@tomuben tomuben commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread DESCRIPTION
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>.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this link still valid

Comment thread R/EXADBI-connection.R
Comment thread R/EXADBI-connection.R
Comment thread R/EXADBI-table.R Outdated
paste0("select * from exa_all_tables where table_schema = ",
schema, " and table_name=", name)
res <- sqlQuery(conn, qstr)
res <- exa.readData(conn, qstr)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't read data use export, this would be expensive

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced with .wsExecuteQuery also on many other places.

Comment thread R/EXADBI-table.R Outdated
.wsExecuteQuery(con, paste("open schema", schema))
message(paste("Schema", schema, "found."))
}, error = function(e) {
tryCatch({

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puh, this nesting

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplified to:

  .wsExecuteQuery(con, paste("create schema if not exists", schema))
  .wsExecuteQuery(con, paste("open schema", schema))

Comment thread R/Viewer.R

columns <- RODBC::sqlColumns(channel = connection, sqtable = name, schema = schema)

sql <- paste0("SELECT COLUMN_NAME, COLUMN_TYPE FROM SYS.EXA_ALL_COLUMNS WHERE COLUMN_SCHEMA = '",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is probably a metadata request in the protocol for this

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I let the AI create ticket #169 for that, as this involves the C++ layer.

Comment thread R/Viewer.R
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, ")")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is probably a request for this in the protocol

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I let the AI create ticket #169 for that, as this involves the C++ layer.

Comment thread R/Viewer.R Outdated
Comment thread R/exa.readData.R Outdated
Comment thread R/exasol.R
#' 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}.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this link still valid

Comment thread src/r_exasol/websocket/exasol_commands.cpp Outdated
Comment thread src/r_exasol/websocket/exasol_commands.h
Comment thread src/r_exasol/websocket/exasol_response.cpp
Comment thread R/EXADBI-connection.R
Comment thread R/EXADBI-connection.R
Comment thread R/Viewer.R Outdated
Comment thread R/Viewer.R Outdated
Comment thread R/exa.readData.R Outdated
Comment thread R/Viewer.R
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, ")")

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I let the AI create ticket #169 for that, as this involves the C++ layer.

Comment thread R/Viewer.R

columns <- RODBC::sqlColumns(channel = connection, sqtable = name, schema = schema)

sql <- paste0("SELECT COLUMN_NAME, COLUMN_TYPE FROM SYS.EXA_ALL_COLUMNS WHERE COLUMN_SCHEMA = '",

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I let the AI create ticket #169 for that, as this involves the C++ layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants