Note: The gphdfs
external table protocol is deprecated and will be removed in the next major release of Greenplum Database.
The following code defines a readable external table for an HDFS file named filename.txt
on port 8081.
The following code defines a set of readable external tables that have a custom format located in the same HDFS directory on port 8081.
The following code defines an HDFS directory for a writable external table on port 8081 with all compression options specified.
Because the previous code uses the default compression options for compression_type
and codec
, the following command is equivalent.
Parent topic: Accessing HDFS Data with gphdfs (Deprecated)
Content feedback and comments