influxdata / influxdata/influxdb

Error on invalid table name for `system.parquet_files` queries

Open
#25,229 0 comments 0 reactions 0 assignees View on GitHub
v3
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Currently, queries to `system.parquet_files` that provide an invalid `table_name` predicate will produce an empty result set.

They instead should produce an error indicating that the table name provided in the predicate does not exist.

See https://github.com/influxdata/influxdb/pull/25225#discussion_r1707970920 and #24988

Contributor guide

Open the contributing guide

Research direction

Start by tracing how system.parquet_files handles a table_name predicate, using the discussion on PR #25225 and issue #24988 for context. Verify the behavior for an invalid table name and update it so the query reports that the referenced table does not exist rather than returning an empty result.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.