Python client and synapser cannot handle table column type LINK

Description

to reproduce my workflow:

import synapseclient
syn = synapseclient.login()
results = syn.tableQuery("select * from syn1234")
results.asRowSet()

if there is a column with type LINK, then you will get this error:
ValueError: Unknown column type: LINK

Not a major need... just noted.
_Nasim

Environment

None

Activity

Show:
Kenneth Daily
February 23, 2018, 9:56 PM
Kenneth Daily
February 23, 2018, 10:15 PM
Ziming Dong
February 23, 2018, 11:25 PM

Please also modify the unit test test_cast_values() in unit_test_tables.py to include this case.

Kenneth Daily
February 24, 2018, 1:01 AM

I added it. thanks!

Nasim Sanati
February 27, 2018, 12:04 AM

It worked like a charm thanks!

use-case validated/tested by:

import synapseclient
syn = synapseclient.login()
results = syn.tableQuery('select * from syn10923842')
obj = results.asRowSet()

Assignee

Kenneth Daily

Reporter

Nasim Sanati

Labels

None

Validator

Nasim Sanati

Development Area

None

Release Version History

None

Fix versions

Priority

Critical
Configure