Skip to content

Commit e613000

Browse files
Changed bounded-length arraysize values to '*'
This is for working around a bug in astropy: astropy/astropy#18099
1 parent 91b2fdf commit e613000

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

‎tap-schema/sql/0000_tap_schema11.sql‎

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -260,43 +260,43 @@ insert into tap_schema.tables11 (schema_name,table_name,table_type,description,u
260260
;
261261

262262
insert into tap_schema.columns11 (table_name,column_name,description,utype,ucd,unit,datatype,arraysize,xtype,principal,indexed,std, column_index, `size`) values
263-
( 'tap_schema.schemas', 'schema_name', 'schema name for reference to tap_schema.schemas', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,1, 64),
264-
( 'tap_schema.schemas', 'utype', 'lists the utypes of schemas in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,2, 512),
265-
( 'tap_schema.schemas', 'description', 'describes schemas in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,3, 512),
263+
( 'tap_schema.schemas', 'schema_name', 'schema name for reference to tap_schema.schemas', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,1, 64),
264+
( 'tap_schema.schemas', 'utype', 'lists the utypes of schemas in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,2, 512),
265+
( 'tap_schema.schemas', 'description', 'describes schemas in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,3, 512),
266266
( 'tap_schema.schemas', 'schema_index', 'recommended sort order when listing schemas', NULL, NULL, NULL, 'int', NULL, NULL, 1,0,1,4, NULL),
267267

268-
( 'tap_schema.tables', 'schema_name', 'the schema this table belongs to', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,1, 512),
269-
( 'tap_schema.tables', 'table_name', 'the fully qualified table name', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,2, 64),
270-
( 'tap_schema.tables', 'table_type', 'one of: table view', NULL, NULL, NULL, 'char', '8*', NULL, 1,0,1,3, 8),
271-
( 'tap_schema.tables', 'utype', 'lists the utype of tables in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,4, 512),
272-
( 'tap_schema.tables', 'description', 'describes tables in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,5, 512),
268+
( 'tap_schema.tables', 'schema_name', 'the schema this table belongs to', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,1, 512),
269+
( 'tap_schema.tables', 'table_name', 'the fully qualified table name', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,2, 64),
270+
( 'tap_schema.tables', 'table_type', 'one of: table view', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,3, 8),
271+
( 'tap_schema.tables', 'utype', 'lists the utype of tables in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,4, 512),
272+
( 'tap_schema.tables', 'description', 'describes tables in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,5, 512),
273273
( 'tap_schema.tables', 'table_index', 'recommended sort order when listing tables', NULL, NULL, NULL, 'int', NULL, NULL, 1,0,1,6, NULL),
274274

275-
( 'tap_schema.columns', 'table_name', 'the table this column belongs to', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,1, 64),
276-
( 'tap_schema.columns', 'column_name', 'the column name', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,2, 64),
277-
( 'tap_schema.columns', 'utype', 'lists the utypes of columns in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,3, 512),
278-
( 'tap_schema.columns', 'ucd', 'lists the UCDs of columns in the tableset', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,4, 64),
279-
( 'tap_schema.columns', 'unit', 'lists the unit used for column values in the tableset', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,5, 64),
280-
( 'tap_schema.columns', 'description', 'describes the columns in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,6, 512),
281-
( 'tap_schema.columns', 'datatype', 'lists the ADQL datatype of columns in the tableset', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,7, 64),
282-
( 'tap_schema.columns', 'arraysize', 'lists the size of variable-length columns in the tableset', NULL, NULL, NULL, 'char', '16*', NULL, 1,0,1,8, 16),
283-
( 'tap_schema.columns', 'xtype', 'a DALI or custom extended type annotation', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,7, 64),
275+
( 'tap_schema.columns', 'table_name', 'the table this column belongs to', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,1, 64),
276+
( 'tap_schema.columns', 'column_name', 'the column name', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,2, 64),
277+
( 'tap_schema.columns', 'utype', 'lists the utypes of columns in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,3, 512),
278+
( 'tap_schema.columns', 'ucd', 'lists the UCDs of columns in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,4, 64),
279+
( 'tap_schema.columns', 'unit', 'lists the unit used for column values in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,5, 64),
280+
( 'tap_schema.columns', 'description', 'describes the columns in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,6, 512),
281+
( 'tap_schema.columns', 'datatype', 'lists the ADQL datatype of columns in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,7, 64),
282+
( 'tap_schema.columns', 'arraysize', 'lists the size of variable-length columns in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,8, 16),
283+
( 'tap_schema.columns', 'xtype', 'a DALI or custom extended type annotation', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,7, 64),
284284

285285
( 'tap_schema.columns', '"size"', 'deprecated: use arraysize', NULL, NULL, NULL, 'int', NULL, NULL, 1,0,1,9, NULL),
286286
( 'tap_schema.columns', 'principal', 'a principal column; 1 means 1, 0 means 0', NULL, NULL, NULL, 'int', NULL, NULL, 1,0,1,10, NULL),
287287
( 'tap_schema.columns', 'indexed', 'an indexed column; 1 means 1, 0 means 0', NULL, NULL, NULL, 'int', NULL, NULL, 1,0,1,11, NULL),
288288
( 'tap_schema.columns', 'std', 'a standard column; 1 means 1, 0 means 0', NULL, NULL, NULL, 'int', NULL, NULL, 1,0,1,12, NULL),
289289
( 'tap_schema.columns', 'column_index', 'recommended sort order when listing columns of a table', NULL, NULL, NULL, 'int', NULL, NULL, 1,0,1,13, NULL),
290290

291-
( 'tap_schema.keys', 'key_id', 'unique key to join to tap_schema.key_columns', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,1, 64),
292-
( 'tap_schema.keys', 'from_table', 'the table with the foreign key', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,2, 64),
293-
( 'tap_schema.keys', 'target_table', 'the table with the primary key', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,3, 64),
294-
( 'tap_schema.keys', 'utype', 'lists the utype of keys in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,4, 512),
295-
( 'tap_schema.keys', 'description', 'describes keys in the tableset', NULL, NULL, NULL, 'char', '512*', NULL, 1,0,1,5, 512),
291+
( 'tap_schema.keys', 'key_id', 'unique key to join to tap_schema.key_columns', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,1, 64),
292+
( 'tap_schema.keys', 'from_table', 'the table with the foreign key', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,2, 64),
293+
( 'tap_schema.keys', 'target_table', 'the table with the primary key', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,3, 64),
294+
( 'tap_schema.keys', 'utype', 'lists the utype of keys in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,4, 512),
295+
( 'tap_schema.keys', 'description', 'describes keys in the tableset', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,5, 512),
296296

297-
( 'tap_schema.key_columns', 'key_id', 'key to join to tap_schema.keys', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,1, 64),
298-
( 'tap_schema.key_columns', 'from_column', 'column in the from_table', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,2, 64),
299-
( 'tap_schema.key_columns', 'target_column', 'column in the target_table', NULL, NULL, NULL, 'char', '64*', NULL, 1,0,1,3, 64)
297+
( 'tap_schema.key_columns', 'key_id', 'key to join to tap_schema.keys', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,1, 64),
298+
( 'tap_schema.key_columns', 'from_column', 'column in the from_table', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,2, 64),
299+
( 'tap_schema.key_columns', 'target_column', 'column in the target_table', NULL, NULL, NULL, 'char', '*', NULL, 1,0,1,3, 64)
300300
;
301301

302302
insert into tap_schema.keys11 (key_id,from_table,target_table) values

0 commit comments

Comments
 (0)