Skip to content

#1454: Newly created generic tests for R with self contained UDFs#653

Open
sgn4sangar wants to merge 6 commits into
masterfrom
refactor/1454_refactor_generic_r_tests
Open

#1454: Newly created generic tests for R with self contained UDFs#653
sgn4sangar wants to merge 6 commits into
masterfrom
refactor/1454_refactor_generic_r_tests

Conversation

@sgn4sangar

Copy link
Copy Markdown
Contributor

relates to #1454

Comment on lines +50 to +58
self.query(udf.fixindent("""
CREATE OR REPLACE R SET SCRIPT gr_impal.impal_use_connection_fooconn(...)
EMITS (x VARCHAR(2000)) AS
generate_sql_for_import_spec <- function(import_spec) {
c <- exa$get_connection('GR_IMPAL_FOOCONN')
paste0("select '", c$address, c$user, c$password, "'")
}
/
"""))

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.

Seems this test is new. The UDF was not defined in the old r/import_alias.py.

Comment thread test_container/tests/test/generic/r/import_alias.py
Comment thread test_container/tests/test/generic/r/emit.py
Comment thread test_container/tests/test/generic/r/dynamic_output.py
@sgn4sangar sgn4sangar changed the title Newly created generic tests for R with self contained UDFs #1454: Newly created generic tests for R with self contained UDFs Jun 25, 2026
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