Re: [DISCUSS] BEARER authentication support in Avatica - 2nd try

2023-12-03 Thread Istvan Toth
Thanks Benchao Li!

You are right, but most people use GMail as their mail client, and having
the email correctly sent by the list server, and being present in the
archives amounts to little if most list members don't see it in their inbox.
I am glad that it wasn't marked spam for everyone. GMail's ways are
mysterious, I could only react based on what mine did.

best regards
Istvan


On Sun, Dec 3, 2023 at 3:51 PM Benchao Li  wrote:

> The original email is already in the Apache mailing list server[1].
> It's the email app's behavior to mark it as spam, at least in my
> Gmail, it's not spam.
>
> [1] https://lists.apache.org/thread/hggbfwnlmg9hf00n5w68fsw519fzzxd3
>
> Istvan Toth  于2023年12月3日周日 00:38写道:
> >
> > Hi !
> >
> > Aron has recently started a discussion, but Gmail has decided to mark it
> as
> > spam.
> > I expect that most people haven't even seen it, so I'm re-sending it with
> > the hyperlinks removed:
> >
> > I've opened a jira regarding the addition of Bearer authentication
> support
> > > to Avatica CALCITE-6135.
> > > This feature would enable authentication with bearer tokens as defined
> > > in RFC 6750.
> >
> >
> > > I've also opened a PR with a proposed implementation (link int the
> > > ticket). Worth noting that
> > > there is an upcoming support for this auth scheme in HttpClient as well
> > > (the commit is "BEARER auth scheme support (RFC 6750)")
> > > Taking this into consideration, the relevant classes are adjusted so a
> > > future version upgrade should not be too difficult. Additionally, this
> > > implementation provides greater flexibility with a file based token
> > > provider allowing token refresh, however, a constant token provider
> class
> > > is also implemented based on Istvan's suggestion.
> >
> >
> > > I welcome any feedback or suggestions you may have.
> >
> >
> > > Regards,
> > > Áron
>
>
>
> --
>
> Best,
> Benchao Li
>


-- 
*István Tóth* | Sr. Staff Software Engineer
*Email*: st...@cloudera.com
cloudera.com 
[image: Cloudera] 
[image: Cloudera on Twitter]  [image:
Cloudera on Facebook]  [image: Cloudera
on LinkedIn] 
--
--


[VOTE] Release apache-calcite-avatica-go-5.3.0 (release candidate 0)

2023-12-03 Thread Francis Chuang

Hi all,

I have created a release for Apache Calcite Avatica Go 5.3.0, release 
candidate 0.


Thanks to everyone who has contributed to this release. The release 
notes are available here:

https://github.com/apache/calcite-avatica-go/blob/v5.3.0-rc0/site/_docs/go_history.md

The commit to be voted on:
https://gitbox.apache.org/repos/asf?p=calcite-avatica-go.git;a=commit;h=8657d0ac4148dca20f67253e78be222d10cc9c6a

The hash is 8657d0ac4148dca20f67253e78be222d10cc9c6a

The artifacts to be voted on are located here:
https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-avatica-go-5.3.0-rc0/

The hashes of the artifacts are as follows:
src.tar.gz 4927DE62 7C46BE04 2F8092E6 86D5FE36 A3E0115F 7D1672AB 
F0B32285 AB437FE53B6347CE 5824E1D9 C37A24D0 8B80088C 132F706D D484F0F8 
C2961453 941AC048


Release artifacts are signed with the following key:
https://people.apache.org/keys/committer/francischuang.asc

Instructions for running the test suite is located here:
https://github.com/apache/calcite-avatica-go/blob/v5.3.0-rc0/site/develop/avatica-go.md#testing

Please vote on releasing this package as Apache Calcite Avatica Go 5.3.0.

To run the tests without a Go environment, install docker and docker 
compose. Then, in the root of the release's directory, run: docker 
compose run test


When the test suite completes, run "docker compose down" to remove and 
shutdown all the containers.


The vote is open for the next 72 hours and passes if a majority of at 
least three +1 PMC votes are cast.


[ ] +1 Release this package as Apache Calcite Avatica Go 5.3.0
[ ]  0 I don't feel strongly about it, but I'm okay with the release
[ ] -1 Do not release this package because...


Here is my vote:

+1 (binding)

Francis


[jira] [Created] (CALCITE-6155) Add additional rel/ tag to avatica-go release script

2023-12-03 Thread Francis Chuang (Jira)
Francis Chuang created CALCITE-6155:
---

 Summary: Add additional rel/ tag to avatica-go release script
 Key: CALCITE-6155
 URL: https://issues.apache.org/jira/browse/CALCITE-6155
 Project: Calcite
  Issue Type: New Feature
  Components: avatica-go
Reporter: Francis Chuang
Assignee: Francis Chuang
 Fix For: avatica-go-5.3.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CALCITE-6154) Upgrade protobuf library to 1.31.0

2023-12-03 Thread Francis Chuang (Jira)
Francis Chuang created CALCITE-6154:
---

 Summary: Upgrade protobuf library to 1.31.0
 Key: CALCITE-6154
 URL: https://issues.apache.org/jira/browse/CALCITE-6154
 Project: Calcite
  Issue Type: New Feature
  Components: avatica-go
Reporter: Francis Chuang
Assignee: Francis Chuang
 Fix For: avatica-go-5.3.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CALCITE-6153) Recompile protobuf messages to Avatica 1.24

2023-12-03 Thread Francis Chuang (Jira)
Francis Chuang created CALCITE-6153:
---

 Summary: Recompile protobuf messages to Avatica 1.24
 Key: CALCITE-6153
 URL: https://issues.apache.org/jira/browse/CALCITE-6153
 Project: Calcite
  Issue Type: New Feature
  Components: avatica-go
Affects Versions: avatica-go-5.3.0
Reporter: Francis Chuang
Assignee: Francis Chuang






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CALCITE-6152) Test against Avatica 1.24.0

2023-12-03 Thread Francis Chuang (Jira)
Francis Chuang created CALCITE-6152:
---

 Summary: Test against Avatica 1.24.0
 Key: CALCITE-6152
 URL: https://issues.apache.org/jira/browse/CALCITE-6152
 Project: Calcite
  Issue Type: New Feature
Reporter: Francis Chuang
Assignee: Francis Chuang
 Fix For: avatica-go-5.3.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CALCITE-6151) Test against Go 1.20 and 1.21

2023-12-03 Thread Francis Chuang (Jira)
Francis Chuang created CALCITE-6151:
---

 Summary: Test against Go 1.20 and 1.21
 Key: CALCITE-6151
 URL: https://issues.apache.org/jira/browse/CALCITE-6151
 Project: Calcite
  Issue Type: New Feature
  Components: avatica-go
Reporter: Francis Chuang
Assignee: Francis Chuang
 Fix For: avatica-go-5.3.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[ANNOUNCE] Apache Calcite Avatica 1.24.0 Released

2023-12-03 Thread Francis Chuang

The Apache Calcite team is pleased to announce the release of Apache
Calcite Avatica 1.24.0.

Avatica is a framework for building database drivers. Avatica defines a
wire API and serialization mechanism for clients to communicate with a
server as a proxy to a database. The reference Avatica client and server
are implemented in Java and communicate over HTTP. Avatica is a
sub-project of Apache Calcite.

Apache Calcite Avatica 1.24.0 features mostly dependency upgrades with 
some minor bug fixes and features. Of note is the breaking change 
introduced in CALCITE-5675 where date literals not satisfying the 
Gregorian calendar will be rejected.


For a full list of changes, please see the release notes:

https://calcite.apache.org/avatica/docs/history.html#v1-24-0

The release is available here:

https://calcite.apache.org/avatica/downloads/avatica.html

We welcome your help and feedback. For more information on how to report
problems and get involved, visit the project website at:

https://calcite.apache.org/avatica/

or the Apache Calcite project website:

https://calcite.apache.org/

Thanks to everyone involved!

Francis Chuang, on behalf of the Apache Calcite team


[RESULT] [VOTE] Release Apache Calcite Avatica 1.24.0 (release candidate 1)

2023-12-03 Thread Francis Chuang

Thanks to everyone who has tested the release candidate and given
their comments and votes.

The tally is as follows.

3 binding +1s:
Benchao Li
Francis Chuang
Stamatis Zampetakis

1 non-binding +1s:
Istvan Toth

No 0s or -1s.

Therefore I am delighted to announce that the proposal to release
Apache Calcite Avatica 1.24.0 has passed.

Thanks everyone. We’ll now roll the release out to the mirrors.
Francis


Re: [DISCUSS] BEARER authentication support in Avatica - 2nd try

2023-12-03 Thread Benchao Li
The original email is already in the Apache mailing list server[1].
It's the email app's behavior to mark it as spam, at least in my
Gmail, it's not spam.

[1] https://lists.apache.org/thread/hggbfwnlmg9hf00n5w68fsw519fzzxd3

Istvan Toth  于2023年12月3日周日 00:38写道:
>
> Hi !
>
> Aron has recently started a discussion, but Gmail has decided to mark it as
> spam.
> I expect that most people haven't even seen it, so I'm re-sending it with
> the hyperlinks removed:
>
> I've opened a jira regarding the addition of Bearer authentication support
> > to Avatica CALCITE-6135.
> > This feature would enable authentication with bearer tokens as defined
> > in RFC 6750.
>
>
> > I've also opened a PR with a proposed implementation (link int the
> > ticket). Worth noting that
> > there is an upcoming support for this auth scheme in HttpClient as well
> > (the commit is "BEARER auth scheme support (RFC 6750)")
> > Taking this into consideration, the relevant classes are adjusted so a
> > future version upgrade should not be too difficult. Additionally, this
> > implementation provides greater flexibility with a file based token
> > provider allowing token refresh, however, a constant token provider class
> > is also implemented based on Istvan's suggestion.
>
>
> > I welcome any feedback or suggestions you may have.
>
>
> > Regards,
> > Áron



-- 

Best,
Benchao Li