Skip to content

Draft: [DRIVER-788] Validate SELECT without FROM support - #255

Draft
dkropachev wants to merge 1 commit into
masterfrom
dk/driver-788-select-without-from
Draft

Draft: [DRIVER-788] Validate SELECT without FROM support#255
dkropachev wants to merge 1 commit into
masterfrom
dk/driver-788-select-without-from

Conversation

@dkropachev

Copy link
Copy Markdown
Collaborator

Jira: https://scylladb.atlassian.net/browse/DRIVER-788
GitHub issue: #254
Parent epic: https://scylladb.atlassian.net/browse/DRIVER-782

Draft PR for validating SELECT without FROM support in this driver.

Refs #254.

Scope:

  • Add or update integration tests for SELECT 1.
  • Add or update integration tests for SELECT now().
  • Cover prepared and non-prepared execution paths where relevant.
  • Feature-detect or skip cleanly against servers that do not support SELECT without FROM.
  • Document any driver-specific limitation found during implementation.

This draft currently contains an empty setup commit so work can start from a linked branch without adding placeholder source changes.

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 91c03137-2976-456b-98b4-8e8725fe576f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI review requested due to automatic review settings July 21, 2026 15:32
@dkropachev
dkropachev force-pushed the dk/driver-788-select-without-from branch from b25bae3 to 7cb5399 Compare July 21, 2026 15:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a new integration test fixture to validate executing SELECT statements without a FROM clause (e.g., SELECT 1, SELECT now()), including both prepared and non-prepared execution paths, aligned with DRIVER-788 / issue #254.

Changes:

  • Introduces SelectWithoutFromTests integration tests for SELECT 1 and SELECT now().
  • Verifies result metadata (column name/type) and decoded values for both literal and function selectors.
  • Adds a server-capability skip path when SELECT without FROM is rejected as invalid/syntax error.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +27 to +29
public class SelectWithoutFromTests : SharedClusterTest
{
[Test]
@@ -0,0 +1,71 @@
//
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