Skip to content

Commit 04c65e3

Browse files
committed
fix: year, as a SQL protected keyword is now declared with quotation marks
and the datatype of biblio is now VARCHAR
1 parent 4cf7aa4 commit 04c65e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/simbad/query_tap.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ some tables, add their name. To get the columns of the tables ``ref`` and ``bibl
142142
table_name column_name datatype ... unit ucd
143143
object object object ... object object
144144
---------- ----------- ----------- ... ------ --------------------
145-
biblio biblio TEXT ... meta.record;meta.bib
145+
biblio biblio VARCHAR ... meta.record;meta.bib
146146
biblio oidref BIGINT ... meta.record;meta.id
147+
ref "year" SMALLINT ... meta.note;meta.bib
147148
ref abstract UNICODECHAR ... meta.record
148149
ref bibcode CHAR ... meta.bib.bibcode
149150
ref doi VARCHAR ... meta.code;meta.bib
@@ -154,7 +155,6 @@ some tables, add their name. To get the columns of the tables ``ref`` and ``bibl
154155
ref page INTEGER ... meta.bib.page
155156
ref title UNICODECHAR ... meta.title
156157
ref volume INTEGER ... meta.bib.volume
157-
ref year SMALLINT ... meta.note;meta.bib
158158

159159
`~astroquery.simbad.SimbadClass.list_columns` can also be called with a keyword argument.
160160
This returns columns from any table for witch the given keyword is either in the table name,

0 commit comments

Comments
 (0)