My Oracle Support Banner

Hive CTAS (CREATE TABLE AS SELECT) Inside PySpark Application Fails With "Hive Support Is Required" (Doc ID 2907163.1)

Last updated on APRIL 17, 2023

Applies to:

Big Data Service on OCI - Version N/A and later
Information in this document applies to any platform.


When creating a Hive table inside a Spark session using CREATE TABLE AS SELECT syntax, the following error is raised:

This is seen when using PySpark from within a Python application, whereas it works when executed on the command line (using either the PySpark shell or Beeline shell).




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.