You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
This seems to be an inherent limitation of how results are represented in MonetDBLite-Python, since we cannot have two different values in a dictionary with the same key. The workaround is to execute the query naming the columns explicitly:
cc.execute('select f1.i as i1, f2.i as i2 from st as f1, st as f2')
cc.fetchnumpy()
{'i1': array([1, 1, 1, 2, 2, 2, 3, 3, 3]),
'i2': array([1, 2, 3, 1, 2, 3, 1, 2, 3])}
The text was updated successfully, but these errors were encountered:
The expected result is a table with two columns both named
i
.The actual result is:
This seems to be an inherent limitation of how results are represented in MonetDBLite-Python, since we cannot have two different values in a dictionary with the same key. The workaround is to execute the query naming the columns explicitly:
The text was updated successfully, but these errors were encountered: