npawar commented on issue #7262: URL: https://github.com/apache/pinot/issues/7262#issuecomment-895755814
According to the syntax, JsonField = query JsonPath = $.mapping So try, jsonPathLong(query, '$.mapping', default value) On Mon, Aug 9, 2021, 10:56 PM HJK181 ***@***.***> wrote: > @npawar <https://github.com/npawar> I've tried > > "transformConfigs": [ > { > "columnName": "timestamp", > "transformFunction": "JSONPATHLONG(query, '$.mappingTime', 31536000)" > } > ] > > and > > "transformConfigs": [ > { > "columnName": "timestamp", > "transformFunction": "JSONPATHLONG(query, '$.query.mappingTime', 31536000)" > } > ] > > both resulting in Created dictionary for LONG column: timestamp with > cardinality: 1, range: 31536000 to 31536000 where all rows contain the > default value. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/apache/pinot/issues/7262#issuecomment-895749849>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AEWIC3JQDWZDHTZIPJBYNQDT4C5R5ANCNFSM5BZO5J3A> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email> > . > -- 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-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org