Build externa table query for the specified options.
Build externa table query for the specified options.
id of the names pipe the Netezza system should write the data.
External table query to unload the data.
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Returns true if there are record in the pipe, otherwise false.
Returns true if there are record in the pipe, otherwise false.
Start the external table executor that unloads the data.
Start the external table executor that unloads the data. It is necessary to do the setup in separate method instead of class constructor to allow caller to execute close() call in error cases, otherwise job can hang forever.
Creates reader for the given partitions. Reader fetches the data for the Netezza source table by creating external table to tranfer from Netezza host system to a remote spark client using named pipes.
Executes the external table statement in separate thread to allow reading of data in parallel from the named pipe by the RDD iterator.