Skip to content

Commit 1a9f33c

Browse files
committed
ARROW-17496: [Go] Fix Nightly Build
1 parent 5f84335 commit 1a9f33c

6 files changed

Lines changed: 16 additions & 15 deletions

File tree

‎go/arrow/flight/flightsql/example/sql_batch_reader.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
//go:build go1.17
18-
// +build go1.17
17+
//go:build go1.18
18+
// +build go1.18
1919

2020
package example
2121

‎go/arrow/flight/flightsql/example/sqlite_info.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
//go:build go1.17
18-
// +build go1.17
17+
//go:build go1.18
18+
// +build go1.18
1919

2020
package example
2121

‎go/arrow/flight/flightsql/example/sqlite_server.go‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
//go:build go1.17
18-
// +build go1.17
17+
//go:build go1.18
18+
// +build go1.18
1919

2020
// Package example contains a FlightSQL Server implementation using
2121
// sqlite as the backing engine.
@@ -30,9 +30,10 @@
3030
// package, it's easy to swap them out if desired as the modernc.org/sqlite
3131
// package is slower than go-sqlite3.
3232
//
33-
// One other important note is that modernc.org/sqlite only works in go
34-
// 1.17+ so this entire package is given the build constraint to only
35-
// build when using go1.17 or higher
33+
// One other important note is that modernc.org/sqlite only works
34+
// correctly (specifically pragma_table_info) in go 1.18+ so this
35+
// entire package is given the build constraint to only build when
36+
// using go1.18 or higher
3637
package example
3738

3839
import (

‎go/arrow/flight/flightsql/example/sqlite_tables_schema_batch_reader.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
//go:build go1.17
18-
// +build go1.17
17+
//go:build go1.18
18+
// +build go1.18
1919

2020
package example
2121

‎go/arrow/flight/flightsql/example/type_info.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
//go:build go1.17
18-
// +build go1.17
17+
//go:build go1.18
18+
// +build go1.18
1919

2020
package example
2121

‎go/arrow/flight/flightsql/sqlite_server_test.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
//go:build go1.17
18-
// +build go1.17
17+
//go:build go1.18
18+
// +build go1.18
1919

2020
package flightsql_test
2121

0 commit comments

Comments
 (0)