From edba0fdce3ad6d6fb7fa5039f3315c3af5294fb6 Mon Sep 17 00:00:00 2001 From: hr2904 Date: Tue, 25 Jun 2024 20:02:10 +0530 Subject: [PATCH] fixed attribute name in dsl query --- .../store/graph/v2/preprocessor/PreProcessorUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/PreProcessorUtils.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/PreProcessorUtils.java index 965b42034e..011c53a628 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/PreProcessorUtils.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/PreProcessorUtils.java @@ -96,7 +96,7 @@ public enum MigrationStatus { public static final int PRE_DELIMITER_LENGTH = 9; public static final String LEXORANK_HARD_LIMIT = "" + (256 - PRE_DELIMITER_LENGTH); public static final String LEXORANK_VALID_REGEX = "^0\\|[0-9a-z]{6}:(?:[0-9a-z]{0," + LEXORANK_HARD_LIMIT + "})?$"; - public static final Set ATTRIBUTES = new HashSet<>(Arrays.asList("LEXICOGRAPHICAL_SORT_ORDER")); + public static final Set ATTRIBUTES = new HashSet<>(Arrays.asList("lexicographicalSortOrder")); public static final Pattern LEXORANK_VALIDITY_PATTERN = Pattern.compile(LEXORANK_VALID_REGEX);