GitHub user VladislavLytvyniuk added a comment to the discussion: Display table 
& column comments in SQL Lab UI

It would be good to add comments in SQL Lab when DDL contains table and column 
descriptions

CREATE TABLE public.lv_example_table (
    id INT PRIMARY KEY,
    name TEXT,
    description TEXT,
    created_at TIMESTAMP
);

COMMENT ON TABLE public.lv_example_table IS 'Example table with description';
COMMENT ON COLUMN public.lv_example_table.id IS 'Unique record identifier';
COMMENT ON COLUMN public.lv_example_table.name IS 'Element name';
COMMENT ON COLUMN public.lv_example_table.description IS 'Detailed element 
description';
COMMENT ON COLUMN public.lv_example_table.created_at IS 'Record creation date 
and time';

GitHub link: 
https://github.com/apache/superset/discussions/29369#discussioncomment-14892265

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to