You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "gibbonjj (via GitHub)" <gi...@apache.org> on 2024/03/19 02:42:33 UTC

[PR] Validate Duplicate Config Properties [pinot]

gibbonjj opened a new pull request, #12672:
URL: https://github.com/apache/pinot/pull/12672

   The default behavior of PropertiesConfiguration when reading a .properties file is to create an array of the duplicate values for the key instead of a single string.  This change throws a ConfigurationException if someone mistakenly adds duplicate keys.
   
   Reference issue https://github.com/apache/pinot/issues/7882
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [PR] Validate Duplicate Config Properties [pinot]

Posted by "abhioncbr (via GitHub)" <gi...@apache.org>.
abhioncbr commented on PR #12672:
URL: https://github.com/apache/pinot/pull/12672#issuecomment-2005830577

   Thanks @gibbonjj for the contribution. 
   
   We recently updated commons-configuration1 package usage to commons-configuration2[[issue reference](https://github.com/apache/pinot/issues/11085)]. 
   
   I think in commons-configuration2 the [default behaviour is to overwrite](https://github.com/apache/commons-configuration/blob/master/src/main/java/org/apache/commons/configuration2/AbstractConfiguration.java#L662) the property value in-case if it's already present. Can you please confirm the behaviour ? Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [PR] Validate Duplicate Config Properties [pinot]

Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on PR #12672:
URL: https://github.com/apache/pinot/pull/12672#issuecomment-4746474950

   Closing this PR as stale because it has had no activity for more than one year (last updated before 2025-06-18). If this is still relevant, please reopen it or open a fresh PR against current master. Thanks for the contribution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [PR] Validate Duplicate Config Properties [pinot]

Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 closed pull request #12672: Validate Duplicate Config Properties
URL: https://github.com/apache/pinot/pull/12672


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org