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

Fix/escape #1

Merged
merged 5 commits into from
Apr 9, 2019
Merged

Fix/escape #1

merged 5 commits into from
Apr 9, 2019

Conversation

yuokada
Copy link
Owner

@yuokada yuokada commented Apr 30, 2017

@yuokada
Copy link
Owner Author

yuokada commented Apr 30, 2017

Convert mvn into gradle.

% gradle init --type pom

@yuokada
Copy link
Owner Author

yuokada commented Apr 30, 2017

 ❯ java -jar build/libs/json-hive-schema-1.0.jar example/users.json                                 [01:01:11]
CREATE TABLE x (
  `children` array<struct<`name`:string>>,
  `city` struct<`area`:int, `name`:string>,
  `id` int,
  `income` null,
  `name` string)
ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe';

 ❯ java -cp build/libs/json-hive-schema-1.0.jar net.thornydev.JsonHiveSchema example/users.json     [01:01:43]
CREATE TABLE x (
  `children` array<struct<`name`:string>>,
  `city` struct<`area`:int, `name`:string>,
  `id` int,
  `income` null,
  `name` string)
ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe';

- Ex. java -jar ../google-java-format/core/target/google-java-format-1.7-SNAPSHOT-all-deps.jar \
        -i src/main/java/net/thornydev/JsonHiveSchema.java
@yuokada yuokada merged commit 3c3bdab into master Apr 9, 2019
@yuokada yuokada deleted the fix/escape branch March 28, 2020 05:00
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.

1 participant