[GitHub] [beam] robinyqiu commented on pull request #11272: [BEAM-9641] Support ZetaSQL DATE type as a Beam LogicalType

2020-05-21 Thread GitBox


robinyqiu commented on pull request #11272:
URL: https://github.com/apache/beam/pull/11272#issuecomment-632331823


   > are there any tests that use the DATE Type in an aggregation (e.g. MAX)?
   
   No. Thanks for bringing this up. I think it is likely to run into the 
problem.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [beam] robinyqiu commented on pull request #11272: [BEAM-9641] Support ZetaSQL DATE type as a Beam LogicalType

2020-05-15 Thread GitBox


robinyqiu commented on pull request #11272:
URL: https://github.com/apache/beam/pull/11272#issuecomment-629420575


   Java PreCommit failed due to a build failure. Please help run again.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [beam] robinyqiu commented on pull request #11272: [BEAM-9641] Support ZetaSQL DATE type as a Beam LogicalType

2020-05-14 Thread GitBox


robinyqiu commented on pull request #11272:
URL: https://github.com/apache/beam/pull/11272#issuecomment-628914752


   Rebased against master. Please run precommit tests again.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [beam] robinyqiu commented on pull request #11272: [BEAM-9641] Support ZetaSQL DATE type as a Beam LogicalType

2020-05-06 Thread GitBox


robinyqiu commented on pull request #11272:
URL: https://github.com/apache/beam/pull/11272#issuecomment-624894351


   The failing test `SparkPortableExecutionTest.testExecution` should be 
unrelated to this change.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [beam] robinyqiu commented on pull request #11272: [BEAM-9641] Support ZetaSQL DATE type as a Beam LogicalType

2020-05-05 Thread GitBox


robinyqiu commented on pull request #11272:
URL: https://github.com/apache/beam/pull/11272#issuecomment-624452448


   Could you help trigger the tests again?
   
   For the comment on range: Thanks for pointing it out. I overlooked this 
problem. I would like to create a separate PR to address it, along with range 
testing for other types as well.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [beam] robinyqiu commented on pull request #11272: [BEAM-9641] Support ZetaSQL DATE type as a Beam LogicalType

2020-05-05 Thread GitBox


robinyqiu commented on pull request #11272:
URL: https://github.com/apache/beam/pull/11272#issuecomment-624451644


   Ah, just realized that the previous comments were not sent out.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [beam] robinyqiu commented on pull request #11272: [BEAM-9641] Support ZetaSQL DATE type as a Beam LogicalType

2020-04-28 Thread GitBox


robinyqiu commented on pull request #11272:
URL: https://github.com/apache/beam/pull/11272#issuecomment-620739925


   > What do you think about going ahead and defining the date logical type in 
`org.apache.beam.sdk.schemas.logicaltypes`? It would be useful in other 
contexts - for example it would give us something to map Avro's logical date 
type to (currently it is just overloaded with millis-instant onto DATETIME)
   
   Done. Thanks for the suggestion. I made the `Date` type a public logical 
type in `org.apache.beam.sdk.schemas.logicaltypes` and added a layer of 
indirection by letting `SqlTypes.DATE` reference it.
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org