1. 28 8月, 2020 1 次提交
    • J
      add java8 date and time type to pulsar's primitive schemas (#7874) · e36458c3
      jianyun 提交于
      ### Motivation
      
      *Compatible with flink 1.11 need to use java8 date api in pulsar's primitive schemas.*
      
      ### Modifications
      
      *Add Instant, LocalDate, LocalTime, LocalDateTime to pulsar's primitive schemas*
      
      ### Verifying this change
      
      Add Instant, LocalDate, LocalTime, LocalDateTime types to the Schema type test
      e36458c3
  2. 12 4月, 2020 1 次提交
    • L
      Add Joda time logical type conversion. (#6704) · 854716fc
      lipenghui 提交于
      ### Motivation
      
      After upgrade to Apache Avro 1.9.x, the default time conversion changed to JSR-310. For forwarding compatibility, we'd better add the Joda time conversion.
      
      related to #5938 
      
      ### Modifications
      
      Add joda time conversions
      
      ### Verifying this change
      
      New integration test added
      854716fc
  3. 06 1月, 2020 1 次提交
  4. 04 11月, 2019 1 次提交
    • C
      [PIP-44] Separate schema compatibility checker for producer and consumer (#5227) · f6701f11
      congbo 提交于
      * Change import org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy;
      
      * Schema compatibility check change
      
      * Add the test
      
      * modify the cmdNamespaces
      
      * Modify the variable name
      
      * Delete the configuration
      
      * Modify the variable name
      
      * modify the method
      
      * Fix some tests
      
      * add the integration test
      
      * Modify the test
      
      * modity the Timeout time
      
      * Modify the test's sequence
      
      * modify the exception message
      
      * Add the test
      
      * modify the httpLookupService
      
      * Add the license
      
      * add the method
      
      * Modify decode message throw exception
      
      * Add the import class
      
      * fix some comment
      
      * Modify the implments method
      
      * add the judgement for consumer schema compatibility check
      
      * add the import
      f6701f11
  5. 28 8月, 2019 1 次提交
  6. 26 8月, 2019 1 次提交
  7. 18 5月, 2019 1 次提交
    • L
      [schema] Fix joda dependency issue. (#4207) · 364ed5e9
      lipenghui 提交于
      * [schema] Fix joda dependency issue.
      
      * [schema] Add binary license of joda-time.
      
      * [schema] Make joda-time dependency optional.
      
      * [schema] Change log level to debug for logical type init.
      
      * [schema] fix joda-time license in presto distribution
      
      * [schema] fix joda-time license in presto distribution
      364ed5e9
  8. 28 4月, 2019 1 次提交
    • C
      Add the multi version schema support (#3876) · d5ff0828
      congbo 提交于
      ### Motivation
      
      Fix #3742
      
      In order to decode the message correctly by AVRO schema, we need to know the schema what the message is.
      
      ### Modification
      
      - Introduced Schema Reader and Schema Writer for StructSchema.
         - Reader is used to decode message
         - Writer is used to encode message
      - The implementations of StructSchema, provides their schema reader and writer implementations. 
      - Introduced a schema reader cache for caching the readers for different schema versions. 
      d5ff0828
  9. 19 3月, 2019 1 次提交
    • S
      Issue #3211: Fix NPE when creating schema after deleting a schema (#3836) · 8997375e
      Sijie Guo 提交于
      Fixes #3211
      Fixes #2786 
      
      *Motivation*
      
      When a schema is deleted, the schema is not removed directly.
      You can still fetch the latest schema but its state is marked as `deleted`.
      
      So when we apply schema compatibility check, we should ignore deleted schema.
      
      *Modifications*
      
      Ignore deleted schema when doing schema compatibility check
      8997375e