morningman commented on a change in pull request #1237: Change strategy of 
incorrect data
URL: https://github.com/apache/incubator-doris/pull/1237#discussion_r289786192
 
 

 ##########
 File path: be/src/common/config.h
 ##########
 @@ -419,6 +419,11 @@ namespace config {
     // same cache size configuration.
     // TODO(cmy): use different config to set different client cache if 
necessary.
     CONF_Int32(max_client_cache_size_per_host, "10");
+
+    // This config is used to strict the incorrect data when loading. 
+    // If it is set to true, the incorrect data from file will be filtered
+    // If it is set to false, the incorrect data will be loaded and is set to 
NULL.
+    CONF_Bool(enable_load_strict, "true");
 
 Review comment:
   The comment is not accurate.
   In fact, all  incorrect data should be filtered when loading, here we just 
use this configuration to allow data which can be converted to null

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to