questdb icon indicating copy to clipboard operation
questdb copied to clipboard

selecting from a pseudo-table like table_partitions with a dot-prefixed name causes assertion error

Open nwoolmer opened this issue 1 year ago • 1 comments

To reproduce

Repro test:

 @Test
    public void testPseudoTableErrorOut() throws Exception {
        assertMemoryLeak(() -> {
            execute("create table \"a.b\" (ts timestamp);");
            assertPlanNoLeakCheck("select table_partitions('a.b');", "abc");
        });
    }

Expected behaviour:

Image

It is a pseudo table so should not be selected as a column. But it is allowed, if the table name has no ., it will return a record column filled with nulls.

QuestDB version:

9.2.0+

OS, in case of Docker specify Docker and the Host OS:

N/A

File System, in case of Docker specify Host File System:

N/A

Full Name:

Nick Woolmer

Affiliation:

QuestDB

Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?

  • [x] Yes, I have

Additional context

No response

nwoolmer avatar Nov 18 '25 14:11 nwoolmer

I will work on this

jonny5203 avatar Mar 25 '26 18:03 jonny5203