Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java SDK refresh method via gRPC #15

Open
sgrebnov opened this issue Aug 19, 2024 · 0 comments · May be fixed by #20
Open

Java SDK refresh method via gRPC #15

sgrebnov opened this issue Aug 19, 2024 · 0 comments · May be fixed by #20
Assignees

Comments

@sgrebnov
Copy link
Collaborator

sgrebnov commented Aug 19, 2024

  1. Add client.refresh method to perform Accelerated Dataset refresh.

Example usage:

try (SpiceClient client = SpiceClient.builder()
                .build()) {

            client.refresh("taxi_trips");
            System.out.println("Dataset refresh triggered for taxi_trips");

        } catch (Exception e) {
            System.err.println("An unexpected error occurred: " + e.getMessage());
        }
    }

Refresh should work over gRPC (not HTTP) using a Flight "Action".

  1. As part of this item there should be an additional configuration param introduced withHttpOnly(true/false) switching both refresh and query logic to use Http
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 a pull request may close this issue.

1 participant