Skip to content

Commit f86f69b

Browse files
committed
update copyright from 2020 to 2022
1 parent b6895b8 commit f86f69b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+292
-243
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020 Uber Technologies, Inc.
1+
Copyright (c) 2022 Uber Technologies, Inc.
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
(This project is a sandbox project and the development status is STABLE.)
2121

22-
`athenadriver` is a fully-featured AWS Athena database driver for Go developed at Uber ATG.
22+
`athenadriver` is a fully-featured AWS Athena database driver for Go developed at Uber Technologies Inc.
2323
It provides a hassle-free way of querying AWS Athena database with Go standard
2424
library. It not only provides basic features of Athena Go SDK, but
2525
addresses some SDK's limitation, improves and extends it. Moreover, it also includes
@@ -383,7 +383,7 @@ func main() {
383383
conf, _ := drv.NewDefaultConfig("s3://myqueryresults/",
384384
"us-east-2", "DummyAccessID", "DummySecretAccessKey")
385385
wgTags := drv.NewWGTags()
386-
wgTags.AddTag("Uber User", "henry.wu@uber.com")
386+
wgTags.AddTag("Uber User", "henry.wu")
387387
wgTags.AddTag("Uber ID", "123456")
388388
wgTags.AddTag("Uber Role", "SDE")
389389
// Specify that workgroup `henry_wu` is used for the following query

athenareader/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ writing to Athena database is disallowed in read-only mode
286286

287287
AUTHOR
288288

289-
Henry Fuheng Wu (henry.wu@uber.com)
289+
Henry Fuheng Wu (wufuheng@gmail.com)
290290

291291
REPORTING BUGS
292292

athenareader/main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020 Uber Technologies, Inc.
1+
// Copyright (c) 2022 Uber Technologies, Inc.
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -22,11 +22,12 @@ package main
2222

2323
import (
2424
"context"
25+
"strings"
26+
2527
drv "github.com/uber/athenadriver/go"
2628
"github.com/uber/athenadriver/lib/configfx"
2729
"github.com/uber/athenadriver/lib/queryfx"
2830
"go.uber.org/fx"
29-
"strings"
3031
)
3132

3233
func main() {

examples/auth.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020 Uber Technologies, Inc.
1+
// Copyright (c) 2022 Uber Technologies, Inc.
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -22,9 +22,10 @@ package main
2222

2323
import (
2424
"database/sql"
25+
"os"
26+
2527
secret "github.com/uber/athenadriver/examples/constants"
2628
drv "github.com/uber/athenadriver/go"
27-
"os"
2829
)
2930

3031
// To use athenadriver's Config for authentication

examples/constants/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020 Uber Technologies, Inc.
1+
// Copyright (c) 2022 Uber Technologies, Inc.
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

examples/constants/secret.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020 Uber Technologies, Inc.
1+
// Copyright (c) 2022 Uber Technologies, Inc.
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

examples/doc.go

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020 Uber Technologies, Inc.
1+
// Copyright (c) 2022 Uber Technologies, Inc.
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -29,38 +29,35 @@
2929
// You can get it from AWS Security Credentials section of Identity and Access Management (IAM).
3030
// If you don't have one, please create it.
3131
//
32-
//
3332
// In addition to AWS credentials, you also need an s3 bucket to store query result.
3433
// Just go to AWS S3 web console page to create one. In the examples below,
3534
// the s3 bucket I use is s3://henrywuqueryresults/.
3635
//
3736
// In most cases, you need the following 4 prerequisites :
3837
//
39-
// S3 Output bucket
40-
// access key ID
41-
// secret access key
42-
// AWS region
38+
// S3 Output bucket
39+
// access key ID
40+
// secret access key
41+
// AWS region
4342
//
4443
// For more details on athenadriver's support on AWS credentials & S3 query result bucket,
4544
// please refer to README section Support Multiple AWS Authorization Methods.
4645
//
4746
// 2. Installation athenadriver.
4847
//
49-
// go get github.com/uber/athenadriver
48+
// go get github.com/uber/athenadriver
5049
//
5150
// 3. Integration Test.
5251
//
5352
// To Build it:
5453
//
55-
// $cd $GOPATH/src/github.com/uber/athenadriver
56-
// $go build examples/maskcolumn.go
57-
//
54+
// $cd $GOPATH/src/github.com/uber/athenadriver
55+
// $go build examples/maskcolumn.go
5856
//
5957
// Run it and you can see output like:
6058
//
61-
// $./maskcolumn
62-
// 2015-01-07T12:00:01.206255Z,xxx
63-
// 2015-01-07T12:00:01.612598Z,xxx
64-
// 2015-01-07T12:00:02.793335Z,xxx
65-
//
59+
// $./maskcolumn
60+
// 2015-01-07T12:00:01.206255Z,xxx
61+
// 2015-01-07T12:00:01.612598Z,xxx
62+
// 2015-01-07T12:00:02.793335Z,xxx
6663
package main

examples/logging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020 Uber Technologies, Inc.
1+
// Copyright (c) 2022 Uber Technologies, Inc.
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

examples/maskcolumn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020 Uber Technologies, Inc.
1+
// Copyright (c) 2022 Uber Technologies, Inc.
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)