SQL autocomplete object columns doesn't show

Hello. When I’m using it without nested objects, it works well. It shows columns.

const oldConfig: SQLConfig = {
   defaultSchema: 'old_schema',
   defaultTable: 'old_table',
   schema: { 'old_schema.old_table': ['old_col_1', 'old_col_2', 'old_col_3'] },
};

But when I test it with nested objects, it doesn’t show columns.

const oldConfig: SQLConfig = {
  defaultSchema: "new_schema",
  defaultTable: "new_table",
  schema: {
    new_schema: {
      self: {
        type: "db",
        label: "new_schema"
      },
      children: {
        new_table: {
          self: {
            type: "table",
            label: "new_table"
          },
          children: [
            {
              type: "column",
              label: "new_col_1"
            },
            {
              type: "column",
              label: "new_col_2"
            },
            {
              type: "column",
              label: "new_col_3"
            }
          ]
        }
      }
    }
  }
};

This patch should fix this.

I have 4 level nested object.
Catalog > Database > Table > Column

I that case I couldn’t see top columns if I set defaultSchema and defaultTable.

Please see sandbox

Yes, defaultSchema refers to the top level of the hierarchy, and defaultTable to the 2nd level. I’m not quite sure how to unify those with a 4 level nesting.