|
@@ -69,8 +69,11 @@ object test {
|
|
|
val odpsOps = env.getODPS(sc)
|
|
|
val tableSchema = odpsOps.getTableSchema(project, outputTable, isPartition = false)
|
|
|
for (t <- tableSchema) {
|
|
|
- if (!lowerCaseDenseFeatureNames.contains(t._1) && !sparseFeatureNames.contains(t._1)) {
|
|
|
- println(t._1)
|
|
|
+ // 跳过 has_click 和 has_conversion 列
|
|
|
+ if (t._1 != "has_click" && t._1 != "has_conversion") {
|
|
|
+ if (!lowerCaseDenseFeatureNames.contains(t._1) && !sparseFeatureNames.contains(t._1)) {
|
|
|
+ println(t._1)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|