Github user twalthr commented on the pull request:
https://github.com/apache/flink/pull/1880#issuecomment-209938182
I will update the docs. The default values are defined in `CodeGenUtils`.
```
def primitiveDefaultValue(tpe: TypeInformation[_]): String = tpe match {
case INT_TYPE_INFO => "-1"
case LONG_TYPE_INFO => "-1"
case SHORT_TYPE_INFO => "-1"
case BYTE_TYPE_INFO => "-1"
case FLOAT_TYPE_INFO => "-1.0f"
case DOUBLE_TYPE_INFO => "-1.0d"
case BOOLEAN_TYPE_INFO => "false"
case STRING_TYPE_INFO => "\"\""
case CHAR_TYPE_INFO => "'\\0'"
case _ => "null"
}
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---