code: @Deprecated
    public void compressAndUploadStream(String stageName,
                                        String destPrefix,
                                        InputStream inputStream,
                                        String destFileName)
    throws SQLException
    {
      uploadStreamInternal(stageName, destPrefix, inputStream,
                           destFileName, true);
    }
docs: Method to compress data from a stream and upload it at a stage location.
  The data will be uploaded as one file. No splitting is done in this method.
  <p>
  caller is responsible for releasing the inputStream after the method is
  called.
  <p>
  This method is deprecated
  
  @param stageName    stage name: e.g. ~ or table name or stage name
  @param destPrefix   path prefix under which the data should be uploaded on the stage
  @param inputStream  input stream from which the data will be uploaded
  @param destFileName destination file name to use
  @throws SQLException failed to compress and put data from a stream at stage