Oracle DBMS_HADOOP
Version 12.2.0.1

General Information
Library Note Morgan's Library Page Header
The Library is currently in the process of being upgraded from Oracle Database Version 12.1.0.2 to 12.2.0.1. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.

Do you remember when mainframes were replaced by client-server? When client-server was replaced by n-tier architecture? The "Cloud" is a distraction ... DevOps is not. Prepare for the future.
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