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

PPL describe command #646

Merged
merged 20 commits into from
Jun 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert protocol-breaking change
Signed-off-by: Sean Kao <seankao@amazon.com>
seankao-az committed Jun 22, 2022

Unverified

This user has not yet uploaded their public signing key.
commit a0a65cb3900accc9cd808f6ea1346b214cd5530b
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@
import org.opensearch.sql.protocol.response.format.JsonResponseFormatter;
import org.opensearch.sql.protocol.response.format.RawResponseFormatter;
import org.opensearch.sql.protocol.response.format.ResponseFormatter;
import org.opensearch.sql.protocol.response.format.JdbcResponseFormatter;
import org.opensearch.sql.protocol.response.format.SimpleJsonResponseFormatter;
import org.opensearch.sql.protocol.response.format.VisualizationResponseFormatter;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@@ -205,7 +205,7 @@ private ResponseListener<QueryResponse> createListener(RestChannel channel,
} else if (format.equals(Format.VIZ)) {
formatter = new VisualizationResponseFormatter(pplRequest.style());
} else {
formatter = new JdbcResponseFormatter(PRETTY);
formatter = new SimpleJsonResponseFormatter(PRETTY);
}
return new ResponseListener<QueryResponse>() {
@Override