You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Francis Chuang (Jira)" <ji...@apache.org> on 2019/09/18 06:31:00 UTC

[jira] [Resolved] (CALCITE-3320) Use x/xerrors package when working with errors

     [ https://issues.apache.org/jira/browse/CALCITE-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francis Chuang resolved CALCITE-3320.
-------------------------------------
    Resolution: Fixed

> Use x/xerrors package when working with errors
> ----------------------------------------------
>
>                 Key: CALCITE-3320
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3320
>             Project: Calcite
>          Issue Type: Improvement
>          Components: avatica-go
>            Reporter: Francis Chuang
>            Assignee: Francis Chuang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: avatica-go-5.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In Go 1.13, it's possible to wrap errors using `fmt.Errorf("%w", err)`. 
> We need to update places where errors are wrapped to use the `%w` placeholder. 
> Use the golang.org/x/xerrors for compatibility with Go versions before 1.13.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)