Skip to content

Commit

Permalink
bug with partitionning
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolife999 committed Nov 10, 2022
1 parent 3f24db8 commit 28cf62a
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1259,13 +1259,6 @@ private void executerJointureWithPartition(HashMap<String, ArrayList<String>> re
ManipString.substringAfterLast(ManipString.substringBeforeLast(blocCreate, partitionIdentifier),
"create temporary table "),
" as ");

// if independance rule used for the element ($ sign), then use record id "r" as
// partition key
if (blocCreate.contains(" t_" + element + "$ ")) {
partitionIdentifier = "r";
}

blocCreate = blocCreate + "select max(" + partitionIdentifier + ") from " + partitionTableName;
} else {
blocCreate = blocCreate + "select 0";
Expand Down

0 comments on commit 28cf62a

Please sign in to comment.