Skip to content

Commit 5452b68

Browse files
committed
comment
1 parent 9b947cb commit 5452b68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StatefulProcessorHandleImpl.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,13 @@ class DriverStatefulProcessorHandleImpl(timeMode: TimeMode, keyExprEnc: Expressi
365365

366366
/**
367367
* This method returns all column family schemas, and checks and enforces nullability
368-
* if need be.
368+
* if need be. The nullability check and set is only set to true when Avro is enabled.
369369
* @param shouldCheckNullable Whether we need to check the nullability. This is set to
370370
* true when using Python, as this is the only avenue through
371371
* which users can set nullability
372372
* @param shouldSetNullable Whether we need to set the fields as nullable. This is set to
373-
* true when using Scala, as case classes are set to non-nullable
374-
* by default.
373+
* true when using Scala, as case classes are set to
374+
* non-nullable by default.
375375
* @return column family schemas used by this stateful processor.
376376
*/
377377
def getColumnFamilySchemas(

0 commit comments

Comments
 (0)