Skip to content

feat: optimize getFieldByName#45

Merged
lavkesh merged 3 commits intomainfrom
optimise-field-functions
Oct 7, 2022
Merged

feat: optimize getFieldByName#45
lavkesh merged 3 commits intomainfrom
optimise-field-functions

Conversation

@lavkesh
Copy link
Copy Markdown
Member

@lavkesh lavkesh commented Sep 28, 2022

No description provided.

@lavkesh lavkesh force-pushed the optimise-field-functions branch from 52393e1 to 53d5b6a Compare September 28, 2022 06:09
@lavkesh lavkesh force-pushed the optimise-field-functions branch from 53d5b6a to 9daef0a Compare September 28, 2022 06:12
@@ -129,19 +129,22 @@ private void addRepeatedFields(Map<String, Object> row, Object value, List<Objec


public Object getFieldByName(String name, OdpfMessageSchema odpfMessageSchema) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need odpfMessageSchema argument? I see that two implementations of ParsedOdpfMessage doesn't use this argument anymore.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be needed for others. Because the schema is not part of the message. we need to supply from outside.

@lavkesh lavkesh merged commit 57c665b into main Oct 7, 2022
@lavkesh lavkesh deleted the optimise-field-functions branch October 7, 2022 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants