-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
CALCITE-1371: fix bug for PrepareStatement Date Parameter #279
Conversation
I have no idea why the CI failed. I run the test locally, 'mvn test'. [INFO] Reactor Summary: |
It would appear that something on my environment is causing the test to fail:
I'll try to figure out why since it appears that TravisCI is passing. |
Looks like a timezone issue. You can run the test with several different timezones with e.g. Can you change the commit description to something the user would understand? Users don't know about AvaticaSite. |
So 1473336000000 == Thu Sep 08 2016 12:00:00 UTC and 1473292800000 == Thu Sep 08 2016 00:00:00 UTC (difference of 12 hours). Is this test passing for you locally, @yiming187 ? The snippet you sent earlier did not run the avatica tests. You'll want to do |
This looks good to me. I will test locally and merge. |
Thanks, @joshelser This is my local test result: |
One final thing: I did correct your commit message. Here in Calcite/Avatica, we use the form "[JIRA_ID] message", e.g. "[CALCITE-1371] fix setDate with Calendar in AvaticaSite". If you can remember to follow this next time, that would be nice. Thanks for your contribution regardless! It is greatly appreciated. |
Thanks a lot. I will follow the rules. |
I think you should have used the JIRA description "PreparedStatement does not process Date type correctly" for the commit description rather than "fix setDate with Calendar in AvaticaSite". The latter is what you did, but the user reading the commit log is more interested in the problem that was fixed. Also, for contributions from non-committers we append the contributor name. |
Drat, sorry, I did not think to fix that.
My bad again. I had the git-author set to him and did not think to include his name again in the log message. I will try to remember this for the future. Would you like me to correct these with a force-push, @julianhyde ? |
Doesn't need a force push. Not that important. |
https://issues.apache.org/jira/browse/CALCITE-1371