ON MASTER is ignored in writable external table using S3 protocol on Tanzu Greenplum
search cancel

ON MASTER is ignored in writable external table using S3 protocol on Tanzu Greenplum

book

Article ID: 296738

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

It is possible to specify "ON MASTER" directive when creating readable or writable external tables that use the S3 or custom protocols.

From "Create External Table" documentation:

 

ON MASTER

Restricts all table-related operations to the Greenplum master segment. Permitted only on readable and writable external tables created with the s3 or custom protocols. The gpfdist, gpfdists, pxf, and file protocols do not support ON MASTER.

This directive will ensure all reads from and writes to the external location to be done on the master only. 

However when "ON MASTER" is specified for an external writable table, the directive is ignored.
All of the writes to the external location will be executed on the segments.

Even when taking a schema backup of the table the "ON MASTER" directive will not be backed up.

The "ON MASTER" directive functions correctly for readable external tables.

 

Environment

Product Version: 6.18

Resolution

The issue is fixed in 6.20.2.

On Master is now supported for s3 external table.