tempo icon indicating copy to clipboard operation
tempo copied to clipboard

`tsdf.select("*")` throws Exception stating columns must be present when they are by nature of the projection

Open R7L208 opened this issue 2 years ago • 1 comments

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

R7L208 avatar Aug 26 '22 04:08 R7L208

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.

tnixon avatar Sep 19 '22 22:09 tnixon