Github user ishark commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/250#discussion_r57633606
--- Diff:
engine/src/main/java/com/datatorrent/stram/plan/logical/LogicalPlanConfiguration.java
---
@@ -2435,7 +2435,7 @@ private void setAttributes(List<? extends Conf>
confs, Attribute.AttributeMap at
else {
if (processedAttributes.add(attribute)) {
String val = e.getValue();
- if (val.trim().charAt(0) == '{') {
+ if (val.trim().charAt(0) == '{' && !(attribute.codec
instanceof JsonStringCodec)) {
--- End diff --
Nested objects parsing was failing with default JSON parsing. It needed
className for correct parsing, so added JsonStringCodec.
---
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.
---