Oracle DBMS_HADOOP
Version 12.2.0.1

General Information
Library Note Morgan's Library Page Header
"I spent my entire adult life looking out for the well-being, the training, the equipping of the troops for whom I was responsible. I will not be lectured about what our military needs by a five-deferment draft dodger,"
~ Sen. Tammy Duckworth
Purpose Provides a PL/SQL procedure called CREATE_EXTDDL_FOR_HIVE(), that creates an Oracle external table for a given hive table. Big Data SQL needs to be correctly set up for DBMS_HADOOP to work.
AUTHID CURRENT_USER
Dependencies
DBMS_ASSERT DBMS_OUTPUT DBMS_STANDARD
DBMS_HADOOP_INTERNAL DBMS_SQL  
Documented Yes
First Available 12.2.0.1
Security Model Owned by SYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/rdbms/admin/dbmshadp1.sql

This file is restricted to only run, during installation, on the Linux O/S.
Subprograms
 
CREATE_EXTDDL_FOR_HIVE (new 12.2)
Given a hive table name, creates a text of DDL that can be executed to create an external table corresponding to the hive table dbms_hadoop.create_extddl_for_hive(
cluster_id      IN  VARCHAR2,
db_name         IN  VARCHAR2,
hive_table_name IN  VARCHAR2,
hive_partition  IN  BOOLEAN,
table_name      IN  VARCHAR2,
perform_ddl     IN  BOOLEAN,
text_of_ddl     OUT CLOB);
TBD
 
SYNC_PARTITIONS_FOR_HIVE (new 12.2)
Synchronizes the existing partitioning definition of a hive table in Oracle catalog dbms_hadoop.sync_partitions_for_hive(
xt_tab_name  IN VARCHAR2,
xt_tab_owner IN VARCHAR2);
TBD

Related Topics
Built-in Functions
Built-in Packages
DBMS_HADOOP_INTERNAL
What's New In 12cR1
What's New In 12cR2

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2017 Daniel A. Morgan All Rights Reserved