questdb
questdb copied to clipboard
selecting from a pseudo-table like table_partitions with a dot-prefixed name causes assertion error
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:
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
I will work on this