Skip to content

Fix query table function tests in SingleStore#12696

Merged
findepi merged 1 commit intomasterfrom
ebi/singlestore-query-test
Jun 6, 2022
Merged

Fix query table function tests in SingleStore#12696
findepi merged 1 commit intomasterfrom
ebi/singlestore-query-test

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Jun 6, 2022

Description

Fix query table function tests in SingleStore

Documentation

(x) No documentation is needed.

Release notes

(x) No release notes entries required.

@cla-bot cla-bot bot added the cla-signed label Jun 6, 2022
@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Jun 6, 2022
@ebyhr ebyhr requested review from findepi and kasiafi June 6, 2022 03:19
// to execute in SingleStore because the connector wraps it in additional syntax, which causes syntax error.
try (TestTable testTable = simpleTable()) {
assertThatThrownBy(() -> query(format("SELECT * FROM TABLE(system.query(query => 'INSERT INTO %s VALUES (3)'))", testTable.getName())))
.hasMessageContaining("descriptor has no fields");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am not sure if it is the way to go. It sounds like we should disable this feature (system.query table function) in single-store as this not working fully.

@ebyhr ebyhr closed this Jun 6, 2022
@ebyhr ebyhr reopened this Jun 6, 2022
@findepi
Copy link
Copy Markdown
Member

findepi commented Jun 6, 2022

Approved because per my understand this similar to what we do for MariaDB

@findepi
Copy link
Copy Markdown
Member

findepi commented Jun 6, 2022

Fixes master, so let me merge.

@findepi findepi merged commit f9c25e2 into master Jun 6, 2022
@findepi findepi deleted the ebi/singlestore-query-test branch June 6, 2022 12:29
@findepi
Copy link
Copy Markdown
Member

findepi commented Jun 6, 2022

thank you @ebyhr

@github-actions github-actions bot added this to the 385 milestone Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

3 participants