[jira] [Updated] (CARBONDATA-3664) Alter set sort columns is changing schema but evolution entry is not made

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-3664) Alter set sort columns is changing schema but evolution entry is not made

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akash R Nilugal updated CARBONDATA-3664:
----------------------------------------
    Description:
Alter set sort columns is changing schema but evolution entry is not made


  was:
Alter set sort columns is changing schema but evolution entry is not made

/*
   * This method reads the load metadata file and returns Carbon segments only
   */

  public static LoadMetadataDetails[] readCarbonMetaData(String metadataFolderPath) {
    String metadataFileName = metadataFolderPath + CarbonCommonConstants.FILE_SEPARATOR
        + CarbonTablePath.TABLE_STATUS_FILE;
    try {
      LoadMetadataDetails[] allSegments = readTableStatusFile(metadataFileName);
      List<LoadMetadataDetails> carbonSegments = new ArrayList<>();
      for (LoadMetadataDetails currSegment : allSegments) {
        if (currSegment.isCarbonFormat()) {
          carbonSegments.add(currSegment);
        }
      }
      return carbonSegments.toArray(new LoadMetadataDetails[carbonSegments.size()]);
    } catch (IOException e) {
      return new LoadMetadataDetails[0];
    }
  }


> Alter set sort columns is changing schema but evolution entry is not made
> -------------------------------------------------------------------------
>
>                 Key: CARBONDATA-3664
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3664
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Akash R Nilugal
>            Assignee: Akash R Nilugal
>            Priority: Minor
>             Fix For: 2.0.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Alter set sort columns is changing schema but evolution entry is not made



--
This message was sent by Atlassian Jira
(v8.3.4#803005)