Skip to content

[Bug] (dicitionary): use wrong key when parsing memory_limit in CreateDictionaryInfo #60306

@foxtail463

Description

@foxtail463

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

What's Wrong?

When properties contains "memory_limit", parse the value from "data_lifetime".

CreateDictionaryInfo.java:
if (properties.containsKey("memory_limit")) {
memoryLimit = Long.parseLong(properties.get("data_lifetime"));
}

What You Expected?

correct it

How to Reproduce?

CREATE DICTIONARY xxx.xxx USING xxx.xxx
(
xxx
)
LAYOUT(HASH_MAP)
PROPERTIES(
'data_lifetime' = '3600',
'memory_limit' = '21474836480'
);

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions