Skip to content

New columns appear at end #1565

Closed
Closed

Description

@tdegrunt

What happened?

When writing a query in a SQL tab and adding new columns to the query, the new columns will appear at the end.

Steps to reproduce

  1. Open a connection
  2. Open a SQL tab (cmd-t)
  3. Write a query: select id, business_model from orders; and observe results
  4. Add a column in between select id, state, business_model from orders; and observe results

Expected behavior

Columns should appear in order

Database type

PostgreSQL

TablePro version

0.48.0 (94)

macOS version & chip

No response

Screenshots / Logs

Image Image

Activity

  1. added
    bug
    on Jun 3, 2026
  2. datlechin commented on Jun 3, 2026

    @datlechin
    Member

    Seem like that you have reorder the business_model/state column therebefore

  3. manseuk commented on Jun 3, 2026

    @manseuk

    I am having the same problem, the right hand panel shows the fields in the order i queried them, the rows at the bottom are in a seemingly random order

    Image

    Running Version 0.48.0 (94)

    If i drag and drop the columns to the correct order then re-run the query i see the same result - out of order columns

  4. datlechin commented on Jun 3, 2026

    @datlechin
    Member

    thank you @tdegrunt @manseuk, i'm checking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions