-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-31715 Change the default field translation mode #18601
HPCC-31715 Change the default field translation mode #18601
Conversation
@ghalliday I have added the code for processing the fields in this commit alongside the change to the default for the tests to pass. Let me know if you wanted just the changes to the default. |
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-31715 Jirabot Action Result: |
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-31715 Jirabot Action Result: |
@jackdelv please can you rebase onto the lastest master - it will remove some of these changes. |
42f21f3
to
5122080
Compare
@ghalliday Rebased to latest master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jackdelv a few changes that should be in 9.4 rather than this - which should only change the defaults. If you agree please split the PR In two again. Thanks.
<xs:enumeration value="payload" hpcc:displayName="Payload" hpcc:description=""/> | ||
<xs:enumeration value="payloadRemoveOnly" hpcc:displayName="PayloadRemoveOnly" hpcc:description=""/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x. I will tag the others as well.
<xs:enumeration value="payload" hpcc:displayName="Payload" hpcc:description=""/> | ||
<xs:enumeration value="payloadRemoveOnly" hpcc:displayName="PayloadRemoveOnly" hpcc:description=""/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
<xs:enumeration value="payload" hpcc:displayName="Payload" hpcc:description=""/> | ||
<xs:enumeration value="payloadRemoveOnly" hpcc:displayName="PayloadRemoveOnly" hpcc:description=""/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
@@ -201,6 +201,7 @@ | |||
<xs:enumeration value="false"/> | |||
<xs:enumeration value="true"/> | |||
<xs:enumeration value="payload"/> | |||
<xs:enumeration value="payloadRemoveOnly"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
@@ -649,6 +649,7 @@ | |||
<xs:enumeration value="false"/> | |||
<xs:enumeration value="true"/> | |||
<xs:enumeration value="payload"/> | |||
<xs:enumeration value="payloadRemoveOnly"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
@@ -688,6 +688,7 @@ | |||
<xs:enumeration value="false"/> | |||
<xs:enumeration value="true"/> | |||
<xs:enumeration value="payload"/> | |||
<xs:enumeration value="payloadRemoveOnly"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
testing/regress/ecl/layouttrans.ecl
Outdated
@@ -26,7 +26,7 @@ version := #IFDEFINED(root.version, 1); | |||
|
|||
//--- end of version configuration --- | |||
|
|||
#option ('layoutTranslation', true); | |||
#option ('layoutTranslation', 'payload'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
testing/regress/ecl/sqtrans.ecl
Outdated
@@ -22,6 +22,8 @@ multiPart := #IFDEFINED(root.multiPart, false); | |||
|
|||
//--- end of version configuration --- | |||
|
|||
#option('layoutTranslation', 'payload'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
@@ -27,7 +27,7 @@ optRemoteRead := #IFDEFINED(root.optRemoteRead, true); | |||
|
|||
#onwarning(2036, ignore); | |||
#onwarning(4522, ignore); | |||
#option ('layoutTranslation', true); | |||
#option ('layoutTranslation', 'payload'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a change that should be in 9.4.x
5122080
to
d42cfb7
Compare
@ghalliday I have rebased to remove the changes that went into 9.4.x. |
d42cfb7
to
af68f8c
Compare
helm/hpcc/values.schema.json
Outdated
@@ -1865,8 +1865,8 @@ | |||
"description": "Should the index node memory allocation flush the cache and retry if memory allocation fails" | |||
}, | |||
"fieldTranslationEnabled": { | |||
"default": "payload", | |||
"enum": ["false", "true", "payload"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jackdelv this change also needs to be in the previous build otherwise the option cannot be configured.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #18694
af68f8c
to
3b87b55
Compare
@ghalliday Rebased to remove change from #18694 |
Type of change:
Checklist:
Smoketest:
Testing: