Skip to content

Warn about unknown sharding key rather than assume a cross-shard query #1163

Description

@lc-guy

This concerns the behavior when cross_shard_disabled = true.

If an unknown sharding key is used (with SET for example), the parser will throw the same error as if no sharding key was entered at all. It's not critical, but it would be nice if the error message thrown would indicate that the sharding key does not exist, to differentiate the two scenarios.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions