This is an automated email from the ASF dual-hosted git repository.

apucher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new fcae6e0  hotfix for #7459 (#7471)
fcae6e0 is described below

commit fcae6e058c60a702b8d0feee7d8df0fb1a220421
Author: Rong Rong <[email protected]>
AuthorDate: Wed Sep 22 20:17:51 2021 -0700

    hotfix for #7459 (#7471)
---
 .../main/java/org/apache/pinot/controller/util/FileIngestionHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
 
b/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
index 4268ea5..7347f9c 100644
--- 
a/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
+++ 
b/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
@@ -106,7 +106,7 @@ public class FileIngestionHelper {
 
       // Copy file to local working dir
       File inputFile = new File(inputDir, String.format(
-          "%s.%s", DATA_FILE_PREFIX, 
_batchConfigMap.get(BatchConfigProperties.INPUT_DIR_URI).toLowerCase()));
+          "%s.%s", DATA_FILE_PREFIX, 
_batchConfigMap.get(BatchConfigProperties.INPUT_FORMAT).toLowerCase()));
       if (payload._payloadType == PayloadType.URI) {
         copyURIToLocal(_batchConfigMap, payload._uri, inputFile);
         LOGGER.info("Copied from URI: {} to local file: {}", payload._uri, 
inputFile.getAbsolutePath());

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to