sqlflow icon indicating copy to clipboard operation
sqlflow copied to clipboard

Exclude a few columns from source table in the TO TRAIN | PREDICT | EVALUATE statement.

Open brightcoder01 opened this issue 5 years ago • 0 comments

Given a wide table containing many columns (such as 100 or more), there are a few columns (such as 5) which are neither feature nor label for the training statement. In the SQLFlow TO TRAIN statement, we don't want to feed the unwanted columns into the model. How do we exclude them in our SQL statement?

Currently, we can write the names of the necessary columns (100 - 5 = 95 columns) specifically in the 'SELECT ... FROM' clause. But it will make the SQL statement too long. We need a solution to make our SQL statement simple and short.

brightcoder01 avatar Jul 14 '20 23:07 brightcoder01