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

[SPARK-31710][SQL]Add compatibility flag to cast long to timestamp #28568

Closed
wants to merge 11 commits into from

Commits on May 18, 2020

  1. SPARK-31710:Add compatibility flag to cast long to timestamp

    As we know,long datatype is interpreted as milliseconds when conversion to timestamp in hive, while long is interpreted as seconds when conversion to timestamp  in spark, we have many sqls runing in product, so we need  a compatibility flag to make them migrating smoothly ,meanwhile do not change the user behavior in spark.
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    06393e2 View commit details
    Browse the repository at this point in the history
  2. SPARK-31710:Add compatibility flag to cast long to timestamp

    As we know,long datatype is interpreted as milliseconds when conversion to timestamp in hive, while long is interpreted as seconds when conversion to timestamp  in spark, we have many sqls runing in product, so we need  a compatibility flag to make them migrating smoothly ,meanwhile do not change the user behavior in spark.
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    97ef3cc View commit details
    Browse the repository at this point in the history
  3. SPARK-31710:Add compatibility flag to cast long to timestamp

    As we know,long datatype is interpreted as milliseconds when conversion to timestamp in hive, while long is interpreted as seconds when conversion to timestamp  in spark, we have many sqls runing in product, so we need  a compatibility flag to make them migrating smoothly ,meanwhile do not change the user behavior in spark.
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    9d39483 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #7 from tongcheng-elong/GuoPhilipse-patch-SPARK-31…

    …710-3
    
    [SPARK-31710][SQL]Add compatibility flag to cast long to timestamp
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    c64f032 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #6 from tongcheng-elong/GuoPhilipse-patch-SPARK-31…

    …710-2
    
    [SPARK-31710][SQL]Add compatibility flag to cast long to timestamp
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    a3d0720 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #5 from tongcheng-elong/GuoPhilipse-patch-SPARK-31…

    …710-1
    
    [SPARK-31710][SQL]Add compatibility flag to cast long to timestamp
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    6e85d61 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a8814e0 View commit details
    Browse the repository at this point in the history
  8. [SPARK-31710][SQL]Add compatibility flag to cast long to timestamp

    As we know,long datatype is interpreted as milliseconds when conversion to timestamp in hive, while long is interpreted as seconds when conversion to timestamp in spark, we have been facing error data during migrating hive sql to spark sql. with compatibility flag we can fix this error,
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    0557f73 View commit details
    Browse the repository at this point in the history
  9. [SPARK-31710][SQL]Add compatibility flag to cast long to timestamp

    As we know,long datatype is interpreted as milliseconds when conversion to timestamp in hive, while long is interpreted as seconds when conversion to timestamp in spark, we have been facing error data during migrating hive sql to spark sql. with compatibility flag we can fix this error,
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    1e31265 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #9 from tongcheng-elong/GuoPhilipse-patch-SPARK-31…

    …710-4
    
    [SPARK-31710][SQL]Add compatibility flag to cast long to timestamp
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    d6403d5 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #8 from tongcheng-elong/GuoPhilipse-patch-SPARK-31710

    [SPARK-31710][SQL]Add compatibility flag to cast long to timestamp
    GuoPhilipse committed May 18, 2020
    Configuration menu
    Copy the full SHA
    cfd254e View commit details
    Browse the repository at this point in the history