Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented May 9, 2017

No description provided.

@kou kou force-pushed the glib-example-go branch from 5d5ff87 to 22e35cb Compare May 9, 2017 06:25
}

recordBatch := arrow.NewRecordBatch(schema, 4, columns)
writer.WriteRecordBatch(recordBatch)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this return an error?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I added error checks for them by #666.

Copy link
Member

@wesm wesm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, very cool

@wesm
Copy link
Member

wesm commented May 9, 2017

I'm interested to start a native Go implementation, since this will only run on Linux, right?

@asfgit asfgit closed this in 74ad4a8 May 9, 2017
@kou kou deleted the glib-example-go branch May 10, 2017 05:07
@kou
Copy link
Member Author

kou commented May 10, 2017

I'm interested to start a native Go implementation,

It'll be useful because it'll be faster and provide more Go style API than GLib bindings based bindings. Maintaining the implementation may be a problem.

since this will only run on Linux, right?

It's not right. The GLib bindings and bindings based on the GLib bindings can work on Linux, macOS and Windows. At least Ruby bindings can work on them. I'm developing GTK+ bindings with GObject Introspection. (gtk3 gem) The bindings can work on Linux, macOS and Windows.

But installing from source will be difficult for users. We need to provide packages for easy to use.

For macOS, it's better that we send a pull request to Homebrew.

For Windows, it's better that we build binary and make it downloadable. I'm doing it by cross-compiling on my Debian GNU/Linux machine for gtk3 gem.

@wesm
Copy link
Member

wesm commented May 10, 2017

Ah that's good to know about GLib. I would like to make a minimal implementation for Go that can read and write the streaming format and provide access to the raw buffers. I am not sure when I will have the time though =) Probably not until 2018...

It will also need to provide binaries for integration testing. Quite a bit of work; if we can recruit some developres from the Go community (like users or developers of InfluxDB or another database written in Go) that might be a good place to start

jeffknupp pushed a commit to jeffknupp/arrow that referenced this pull request Jun 3, 2017
Author: Kouhei Sutou <kou@clear-code.com>

Closes apache#661 from kou/glib-example-go and squashes the following commits:

22e35cb [Kouhei Sutou] [GLib] Add Go examples
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
## What's Changed

Instead of repeatedly trying to access locations which have failed
before, cache them and move them to the end of the list of locations to
attempt on subsequent accesses. This provides a better user experience
for Flight SQL services that return multiple locations in the
expectation that the user may not be able to access some of them (but
would have a better experience if they are).

Requires apache#494.

Closes apache#661.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants