[ 
https://issues.apache.org/jira/browse/AVRO-3542?focusedWorklogId=784143&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-784143
 ]

ASF GitHub Bot logged work on AVRO-3542:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Jun/22 11:15
            Start Date: 23/Jun/22 11:15
    Worklog Time Spent: 10m 
      Work Description: izveigor commented on PR #1730:
URL: https://github.com/apache/avro/pull/1730#issuecomment-1164282466

   Hello, martin-g! Thanks to fast review. I changed my pull request headline 
and description and git commit text.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 784143)
    Time Spent: 20m  (was: 10m)

> Scale assignment optimization
> -----------------------------
>
>                 Key: AVRO-3542
>                 URL: https://issues.apache.org/jira/browse/AVRO-3542
>             Project: Apache Avro
>          Issue Type: Improvement
>    Affects Versions: 1.11.0
>            Reporter: Igor Izvekov
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Changed string in the function: make_avsc_object (from the file "schema.py"):
> *scale = 0 if json_data.get("scale") is None else json_data.get("scale") -> 
> scale = json_data.get("scale", 0)*
>  
> By Python documentation:
> get(self, key, default=None, /)
>     Return the value for key if key is in the dictionary, else default.
>  
> It is more effective and readable than previous version.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to