Skip to content

.schema table_name return unexcepted result? #120

@Cayincc

Description

@Cayincc

What happens?

Corresponding columns disappear:

duckdb:
D .schema tokyo_medals
CREATE INDEX ix_tokyo_medals_country_code ON tokyo_medals USING  ();
CREATE TABLE tokyo_medals(country_code VARCHAR, gold_medal BIGINT, silver_medal BIGINT, bronze_medal BIGINT);
D 
sqlite:
sqlite> .schema tokyo_medals
CREATE TABLE tokyo_medals(country_code VARCHAR, gold_medal BIGINT, silver_medal BIGINT, bronze_medal BIGINT);
CREATE INDEX ix_tokyo_medals_country_code ON tokyo_medals(country_code);
sqlite>

To Reproduce

  • open sqlite3 db: duckdb xxx.db
  • run .schema table_name

OS:

x86_64

DuckDB Version:

v1.1.2 f680b7d08f

DuckDB Client:

Command line

Hardware:

No response

Full Name:

Cayin Wan

Affiliation:

None

What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have tested with a stable release

Did you include all relevant data sets for reproducing the issue?

No - Other reason (please specify in the issue body)

Did you include all code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

  • Yes, I have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions