You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2021/01/15 05:52:06 UTC

[incubator-pinot] branch fixing_raw_table_name_in_segment_uploader created (now 2ff7046)

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

xiangfu pushed a change to branch fixing_raw_table_name_in_segment_uploader
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


      at 2ff7046  Fixing the issue that raw table name extracts from segment metadata might contain _OFFLINE suffix

This branch includes the following new commits:

     new 2ff7046  Fixing the issue that raw table name extracts from segment metadata might contain _OFFLINE suffix

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[incubator-pinot] 01/01: Fixing the issue that raw table name extracts from segment metadata might contain _OFFLINE suffix

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiangfu pushed a commit to branch fixing_raw_table_name_in_segment_uploader
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 2ff7046ffaed101e18f2ce93929f110226a239d3
Author: Xiang Fu <fx...@gmail.com>
AuthorDate: Thu Jan 14 21:51:36 2021 -0800

    Fixing the issue that raw table name extracts from segment metadata might contain _OFFLINE suffix
---
 .../api/resources/PinotSegmentUploadDownloadRestletResource.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentUploadDownloadRestletResource.java b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentUploadDownloadRestletResource.java
index 2ae966d..251fb6a 100644
--- a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentUploadDownloadRestletResource.java
+++ b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentUploadDownloadRestletResource.java
@@ -241,7 +241,7 @@ public class PinotSegmentUploadDownloadRestletResource {
         LOGGER.info("Uploading a segment {} to table: {}, push type {}, (Derived from API parameter)", segmentName, tableName, uploadType);
       } else {
         // TODO: remove this when we completely deprecate the table name from segment metadata
-        rawTableName = segmentMetadata.getTableName();
+        rawTableName = TableNameBuilder.extractRawTableName(segmentMetadata.getTableName());
         LOGGER.info("Uploading a segment {} to table: {}, push type {}, (Derived from segment metadata)", segmentName, tableName, uploadType);
       }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org