Skip to content

Conversation

HokutoMorita
Copy link

@HokutoMorita HokutoMorita commented Jul 5, 2022

やったこと

inputプラグインからstring型で渡された値をColumnOptionを使ってNUMERIC型に変換する対応

残タスク

イシュー

@HokutoMorita HokutoMorita self-assigned this Jul 5, 2022
@HokutoMorita HokutoMorita changed the title [ADD]NUMERIC対応 [Ruby版][ADD]NUMERIC対応 Jul 5, 2022
@HokutoMorita HokutoMorita marked this pull request as ready for review July 8, 2022 07:28
@HokutoMorita HokutoMorita requested a review from d-hrs July 8, 2022 07:28
Gemfile Outdated
Comment on lines 4 to 6
# INFO: v0.9系のembulkを使用している場合は『gem 'embulk', '< 0.10'』と指定してください
# 参考: https://zenn.dev/hiroysato/articles/957b1b4f77d549
# gem 'embulk'

Choose a reason for hiding this comment

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

imo: エラーが出るからバージョン指定てきなコメントのほうがわかりやすいかもです。

Copy link
Author

Choose a reason for hiding this comment

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

承知しました!

@HokutoMorita HokutoMorita requested a review from yosuke-oka July 11, 2022 04:31
.gitignore Outdated
.tags
your-project-000.json
embulk.jar
config.yml

Choose a reason for hiding this comment

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

troccoで config.yml としているだけで config.yaml でも hoge.yml でもいいはずなので、git管理から外すのは本質的ではない気がするんですよね

個人の global gitignore でよしなにやるのでいい気がします

Copy link
Author

Choose a reason for hiding this comment

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

承知です!
それでは、こちら削除します!

Gemfile Outdated

gemspec
gem 'embulk'
gem 'embulk', '< 0.10' # INFO: v0.9系のembulkコマンドの場合エラーになるのでバージョン指定してください。参考: https://zenn.dev/hiroysato/articles/957b1b4f77d549

Choose a reason for hiding this comment

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

コメントとバージョン指定の仕方が真逆?な気がします

0.9系が使えないようバージョン指定したいですね

Suggested change
gem 'embulk', '< 0.10' # INFO: v0.9系のembulkコマンドの場合エラーになるのでバージョン指定してください。参考: https://zenn.dev/hiroysato/articles/957b1b4f77d549
gem 'embulk', '>= 0.10' # INFO: v0.9系のembulkコマンドの場合エラーになるのでバージョン指定してください。参考: https://zenn.dev/hiroysato/articles/957b1b4f77d549

Copy link
Author

Choose a reason for hiding this comment

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

0.9系のembulkコマンドを使いたい感じです!
troccoのworkerで動いているembulkが0.9.26なので

コメントを

INFO: v0.9系のembulkコマンドを使う場合はエラーになるのでバージョン指定してください。参考: https://zenn.dev/hiroysato/articles/957b1b4f77d549

のように修正しました。

Choose a reason for hiding this comment

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

0.9系を使うとエラーになる、という文章に見えるのですが、まだ良くわかってないですw

どのバージョン使うとエラーになる、みたいな書き方をした方がわかりやすいかもです

Copy link
Author

Choose a reason for hiding this comment

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

v0.9系のembulkコマンドでembulk bundleを実行するとエラーになります。
それを回避するために

gem 'embulk', '< 0.10'

と指定する必要がある感じです。

Copy link
Author

Choose a reason for hiding this comment

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

↑ が伝えたいことになります。

Copy link
Author

Choose a reason for hiding this comment

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

修正しました。

Copy link
Author

Choose a reason for hiding this comment

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

Copy link

@yosuke-oka yosuke-oka Jul 13, 2022

Choose a reason for hiding this comment

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

ようやく理解しました。

0.9以下を使わないとエラーになるってことですね。

v0.9系のembulkを使用するためのバージョン指定

いまのコメントなら書かなくて良い説ありますが(0.9系を使うのは見たらわかる)
書くとしたら 0.10系には非対応とかですか?
あるいは、0.10以上だとエラーが起きるため とか

Copy link
Author

Choose a reason for hiding this comment

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

確かに、コメント書かなくても良いかもですねw
コメント消しときますね!

Copy link
Author

Choose a reason for hiding this comment

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

削除しました!
ae9c662

@HokutoMorita HokutoMorita requested a review from tksfjt1024 July 12, 2022 04:32
@kekekenta kekekenta removed their request for review July 13, 2022 01:15
@kekekenta
Copy link
Member

(レビュアー多かったので、抜けます

Copy link

@yosuke-oka yosuke-oka left a comment

Choose a reason for hiding this comment

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

fjtさんのおっしゃってる通りコメント修正お願いします

@HokutoMorita HokutoMorita requested a review from yosuke-oka July 13, 2022 03:45
Gem::Specification.new do |spec|
spec.name = "embulk-output-bigquery"
spec.version = "0.6.13"
spec.version = "0.6.14"
Copy link

Choose a reason for hiding this comment

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

bugfixじゃないので、 0.7.0かな

Suggested change
spec.version = "0.6.14"
spec.version = "0.7.0"

Copy link
Author

Choose a reason for hiding this comment

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

承知しました!

@HokutoMorita HokutoMorita requested a review from d-hrs July 14, 2022 04:58
@HokutoMorita
Copy link
Author

@d-hrs
こちらご確認よろしくお願いいたします!

@HokutoMorita HokutoMorita merged commit 61fade9 into master Jul 20, 2022
@mzumi mzumi mentioned this pull request Dec 27, 2022
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.

5 participants