RussellSpitzer commented on issue #14922:
URL: https://github.com/apache/iceberg/issues/14922#issuecomment-3687589414

   Checked and the current logic is
   
   
https://github.com/apache/iceberg/blob/d5971429ea903be873b5884c64a3dd41076179ea/core/src/main/java/org/apache/iceberg/actions/SizeBasedFileRewritePlanner.java#L341
   
   Which uses
   
   
https://github.com/apache/iceberg/blob/fe23584fc3af9f0ea1371989030b0a99affb233f/core/src/main/java/org/apache/iceberg/util/PropertyUtil.java#L47-L54
   
   Which uses
   
   
   ```java
   
       /**
        * Parses the string argument as a boolean.  The {@code boolean}
        * returned represents the value {@code true} if the string argument
        * is not {@code null} and is equal, ignoring case, to the string
        * {@code "true"}.
        * Otherwise, a false value is returned, including for a null
        * argument.<p>
        * Example: {@code Boolean.parseBoolean("True")} returns {@code 
true}.<br>
        * Example: {@code Boolean.parseBoolean("yes")} returns {@code false}.
        *
        * @param      s   the {@code String} containing the boolean
        *                 representation to be parsed
        * @return     the boolean represented by the string argument
        * @since 1.5
        */
       public static boolean parseBoolean(String s) {
           return "true".equalsIgnoreCase(s);
       }
   ```
   
   Which means that anything other than "true" is gonna be false


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to