Skip to content

Comet native writer crashes for non Arrow input data #2944

Description

@comphead

Describe the bug

Run with

--conf spark.comet.parquet.write.enabled=true --conf spark.comet.operator.DataWritingCommandExec.allowIncompatible=true

the command

 spark.range(1000).write.mode("overwrite").parquet("/tmp/writertest/input")

it fails with

Caused by: org.apache.spark.SparkException: Comet execution only takes Arrow Arrays, but got class org.apache.spark.sql.execution.vectorized.OnHeapColumnVector

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions