select * from information_schema.columns where table_schema = 'test' and table_name = 't1';
select TABLE_CATALOG,TABLE_SCHEMA,TABLE_NAME,COLUMN_NAME,ORDINAL_POSITION,COLUMN_DEFAULT,IS_NULLABLE,DATA_TYPE,CHARACTER_MAXIMUM_LENGTH,CHARACTER_OCTET_LENGTH,NUMERIC_PRECISION,NUMERIC_SCALE,DATETIME_PRECISION,CHARACTER_SET_NAME,COLLATION_NAME,COLUMN_TYPE,COLUMN_KEY,EXTRA,COLUMN_COMMENT,IS_GENERATED,GENERATION_EXPRESSION from information_schema.columns where table_schema = 'test' and table_name = 't1';
def test t1 0 test a 1 a A NULL NULL NULL YES HASH
def test t1 0 test a 1 a A NULL NULL NULL YES HASH
...
@@ -374,13 +374,13 @@ Key Start Len Index Type
...
@@ -374,13 +374,13 @@ Key Start Len Index Type
2 3047 8 multip. ulonglong NULL
2 3047 8 multip. ulonglong NULL
3 3055 8 multip. ulonglong NULL
3 3055 8 multip. ulonglong NULL
4 3063 8 multip. ulonglong NULL
4 3063 8 multip. ulonglong NULL
select * from information_schema.columns where table_schema = 'test' and table_name = 't1';
select TABLE_CATALOG,TABLE_SCHEMA,TABLE_NAME,COLUMN_NAME,ORDINAL_POSITION,COLUMN_DEFAULT,IS_NULLABLE,DATA_TYPE,CHARACTER_MAXIMUM_LENGTH,CHARACTER_OCTET_LENGTH,NUMERIC_PRECISION,NUMERIC_SCALE,DATETIME_PRECISION,CHARACTER_SET_NAME,COLLATION_NAME,COLUMN_TYPE,COLUMN_KEY,EXTRA,COLUMN_COMMENT,IS_GENERATED,GENERATION_EXPRESSION from information_schema.columns where table_schema = 'test' and table_name = 't1';
def test t1 0 test a 1 a A NULL NULL NULL YES HASH
def test t1 0 test a 1 a A NULL NULL NULL YES HASH
...
@@ -731,16 +731,16 @@ Key Start Len Index Type
...
@@ -731,16 +731,16 @@ Key Start Len Index Type
2 5065 8 multip. ulonglong NULL
2 5065 8 multip. ulonglong NULL
3 5073 8 multip. ulonglong NULL
3 5073 8 multip. ulonglong NULL
4 5081 8 multip. ulonglong NULL
4 5081 8 multip. ulonglong NULL
select * from information_schema.columns where table_schema = 'test' and table_name = 't1';
select TABLE_CATALOG,TABLE_SCHEMA,TABLE_NAME,COLUMN_NAME,ORDINAL_POSITION,COLUMN_DEFAULT,IS_NULLABLE,DATA_TYPE,CHARACTER_MAXIMUM_LENGTH,CHARACTER_OCTET_LENGTH,NUMERIC_PRECISION,NUMERIC_SCALE,DATETIME_PRECISION,CHARACTER_SET_NAME,COLLATION_NAME,COLUMN_TYPE,COLUMN_KEY,EXTRA,COLUMN_COMMENT,IS_GENERATED,GENERATION_EXPRESSION from information_schema.columns where table_schema = 'test' and table_name = 't1';