You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
appendLine(" Spark uses the getter method names to get the column names.")
255
+
appendLine(" Properties must be annotated with @get:JvmName(\"<PROP_NAME>\") to generate the right getters. Else, your columns might be be named \"getXYZ\".")
256
+
appendLine(" @Sparkify can do this for you.")
257
+
appendLine(" If you agree with the getter/column names above (like if you've added custom @get:JvmName's), you can ignore this warning.")
258
+
}
259
+
if (isPair) {
260
+
appendLine(" - It is a Pair, which is not well supported by Spark. You can use scala.Tuple2 instead.")
261
+
} elseif (isTriple) {
262
+
appendLine(" - It is a Triple, which is not well supported by Spark. You can use scala.Tuple3 instead.")
263
+
}
264
+
if (!isProduct) {
265
+
appendLine(" - It is not a scala.Product, which is fine for most cases, but can break compatibility with UDFs. You can let your data class implement scala.Product to fix this or let @Sparkify handle it for you.")
0 commit comments