tempo
tempo copied to clipboard
`tsdf.select("*")` throws Exception stating columns must be present when they are by nature of the projection
Current behavior produces the below Exception:
Exception: In TSDF's select statement original ts_col, partitionCols and seq_col_stub(optional) must be present
However by nature of select("*")
they will be present in the data frame if they exist
Expected Behavior
tsdf.select("*")
should succeed and return all columns, including those defined for ts_col, partitionCols, and seqCol
This is a tricky one that'll take some thought as to how to deal with... We want to support all the types of expressions that you could use within a select, but understanding which ones will modify the structure of a TSDF such that we should issue an exception and which won't is non-trivial.