This repository was archived by the owner on Oct 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
src/processor/operator/simple Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,6 @@ std::string getSchemaCypher(ClientContext* clientContext) {
146146 for (auto * e : relGroupEntries) {
147147 allEntries.push_back ({e->constPtrCast <CatalogEntry>(), CatalogEntryType::REL_GROUP_ENTRY});
148148 }
149- for (auto * e : sequenceEntries) {
150- allEntries.push_back ({e->constPtrCast <CatalogEntry>(), CatalogEntryType::SEQUENCE_ENTRY});
151- }
152149 std::sort (allEntries.begin (), allEntries.end (),
153150 [](const EntryAndType& a, const EntryAndType& b) {
154151 return a.entry ->getOID () < b.entry ->getOID ();
@@ -164,17 +161,16 @@ std::string getSchemaCypher(ClientContext* clientContext) {
164161 relTableToCypherInfo)
165162 << std::endl;
166163 break ;
167- case CatalogEntryType::SEQUENCE_ENTRY:
168- ss << entryWithType.entry ->constPtrCast <SequenceCatalogEntry>()->toCypher (
169- relGroupToCypherInfo)
170- << std::endl;
171- break ;
172164 default :
173165 KU_UNREACHABLE;
174166 break ;
175167 }
176168 }
177169
170+ for (const auto sequenceEntry : catalog->getSequenceEntries (transaction)) {
171+ ss << sequenceEntry->toCypher (relGroupToCypherInfo) << std::endl;
172+ }
173+
178174 for (auto macroName : catalog->getMacroNames (transaction)) {
179175 ss << catalog->getScalarMacroFunction (transaction, macroName)->toCypher (macroName)
180176 << std::endl;
You can’t perform that action at this time.
0 commit comments