Project: datamanagement
Issue DM-2445: Fix query "SELECT * FROM Object o, Source s WHERE  o.objectId = s.objectId AND o.objectId = 390034570102582 AND    o.latestObsTime = s.taiMidPoint"
Next query fails: {code:bash} mysql --host=127.0.0.1 --port=4040 --user=qsmaster qservTest_case01_qserv -e "SELECT * FROM Object o, Source s WHERE o.objectId = s.objectId AND o.objectId = 390034570102582 AND o.latestObsTime = s.taiMidPoint" {code} It seems there's several problems here: * objectId field is duplicated, zookeeper could be used to know all the fields involved by * in a query, but then it has to know each columns. * subChunkId and chunkId are also duplicated, this isn't the case in the plain-mysql query. This duplicated columns prevent the creation of the result table on the czar.
Story points: 6