Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix some typos
  • Loading branch information
BryanCutler committed Jun 18, 2018
commit 27b4cad4ad1ff6aea77951878132db5fff80a907
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ object SQLConf {
.internal()
.doc("When true, a grouped map Pandas UDF will assign columns from the returned " +
"Pandas DataFrame based on position, regardless of column label type. When false, " +
"columns will be looked up by name if labeled with a string and fallback to use" +
"columns will be looked up by name if labeled with a string and fallback to use " +
"position if not.")
.booleanConf
.createWithDefault(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ class ArrowPythonRunner(
}

protected override def writeIteratorToStream(dataOut: DataOutputStream): Unit = {
val arrowSchema = ArrowUtils.toArrowSchema(schema, timeZoneId)
val allocator = ArrowUtils.rootAllocator.newChildAllocator(
s"stdout writer for $pythonExec", 0, Long.MaxValue)
val arrowSchema = ArrowUtils.toArrowSchema(schema, timeZoneId)
val root = VectorSchemaRoot.create(arrowSchema, allocator)

Utils.tryWithSafeFinally {
Expand Down