[jira] [Updated] (AVRO-2299) Get Plain Schema

2022-02-28 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated AVRO-2299:
-
Labels: features pull-request-available  (was: features)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.9.0, 1.8.2, 1.9.1
>Reporter: Rumeshkrishnan Mohan
>Assignee: Doug Cutting
>Priority: Major
>  Labels: features, pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2020-02-07 Thread Rumeshkrishnan Mohan (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan Mohan updated AVRO-2299:
---
Affects Version/s: 1.9.0
   1.9.1

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.9.0, 1.8.2, 1.9.1
>Reporter: Rumeshkrishnan Mohan
>Assignee: Rumeshkrishnan Mohan
>Priority: Minor
>  Labels: features
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2020-02-07 Thread Rumeshkrishnan Mohan (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan Mohan updated AVRO-2299:
---
Priority: Major  (was: Minor)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.9.0, 1.8.2, 1.9.1
>Reporter: Rumeshkrishnan Mohan
>Assignee: Rumeshkrishnan Mohan
>Priority: Major
>  Labels: features
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-03-27 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía updated AVRO-2299:
---
Fix Version/s: (was: 1.9.0)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Assignee: Rumeshkrishnan
>Priority: Minor
>  Labels: features
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-03-27 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía updated AVRO-2299:
---
Fix Version/s: 1.9.0

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Assignee: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.9.0
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-03-26 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía updated AVRO-2299:
---
Fix Version/s: (was: 1.9.0)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-03-26 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía updated AVRO-2299:
---
Fix Version/s: (was: 1.10.0)
   1.9.0

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.9.0
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-03-26 Thread Fokko Driesprong (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong updated AVRO-2299:
---
Fix Version/s: (was: 1.8.4)
   (was: 1.8.3)
   (was: 1.8.2)
   (was: 1.9.0)
   1.10.0

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.10.0
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-02-07 Thread Rumeshkrishnan (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan updated AVRO-2299:
-
Flags: Patch,Important  (was: Important)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.9.0, 1.8.2, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-28 Thread Doug Cutting (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated AVRO-2299:
---
Priority: Minor  (was: Critical)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.9.0, 1.8.2, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-28 Thread Doug Cutting (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated AVRO-2299:
---
Issue Type: New Feature  (was: Bug)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Critical
>  Labels: features
> Fix For: 1.9.0, 1.8.2, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-26 Thread Rumeshkrishnan (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan updated AVRO-2299:
-
Issue Type: Bug  (was: Improvement)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Critical
>  Labels: features
> Fix For: 1.9.0, 1.8.2, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-22 Thread Rumeshkrishnan (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan updated AVRO-2299:
-
Priority: Critical  (was: Minor)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Critical
>  Labels: features
> Fix For: 1.9.0, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-22 Thread Rumeshkrishnan (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan updated AVRO-2299:
-
Fix Version/s: 1.8.2

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Critical
>  Labels: features
> Fix For: 1.9.0, 1.8.2, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-10 Thread Rumeshkrishnan (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan updated AVRO-2299:
-
Description: 
{panel:title=Avro Schema Reserved Keys:}
"doc", "fields", "items", "name", "namespace",
 "size", "symbols", "values", "type", "aliases", "default"
{panel}
AVRO also supports user defined properties for both Schema and Field.

Is there way to get the schema with reserved property (key, value)? 

Input Schema: 
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id",
  "user_field_prop": "x"
}
  ],
  "user_schema_prop": "xx"
}{code}
Expected Plain Schema:
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id"
}
  ]
}
{code}

  was:
{panel:title=Avro Schema Reserved Keys:}



"doc", "fields", "items", "name", "namespace",
"size", "symbols", "values", "type", "aliases"
{panel}
AVRO also supports user defined properties for both Schema and Field.

Is there way to get the schema with reserved property (key, value)? 

Input Schema: 
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id",
  "user_field_prop": "x"
}
  ],
  "user_schema_prop": "xx"
}{code}
Expected Plain Schema:
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id"
}
  ]
}
{code}


> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.9.0, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
>  "size", "symbols", "values", "type", "aliases", "default"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-10 Thread Rumeshkrishnan (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan updated AVRO-2299:
-
Issue Type: Improvement  (was: New Feature)

> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: Improvement
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.9.0, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
> "size", "symbols", "values", "type", "aliases"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AVRO-2299) Get Plain Schema

2019-01-09 Thread Rumeshkrishnan (JIRA)


 [ 
https://issues.apache.org/jira/browse/AVRO-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rumeshkrishnan updated AVRO-2299:
-
Description: 
{panel:title=Avro Schema Reserved Keys:}



"doc", "fields", "items", "name", "namespace",
"size", "symbols", "values", "type", "aliases"
{panel}
AVRO also supports user defined properties for both Schema and Field.

Is there way to get the schema with reserved property (key, value)? 

Input Schema: 
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id",
  "user_field_prop": "x"
}
  ],
  "user_schema_prop": "xx"
}{code}
Expected Plain Schema:
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id"
}
  ]
}
{code}

  was:
Schema has `name`, `type`, `namespace`, `doc`, `fields` and some other keys 
related to AVRO specification. AVRO support the user defined properties with 
Schema or Field. Is there way to get only schema without user defined 
properties. ?

Input Schema: 
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id",
  "user_field_prop": "x"
}
  ],
  "user_schema_prop": "xx"
}{code}
Expected Plain Schema:
{code:java}
{
  "name": "testSchema",
  "namespace": "com.avro",
  "type": "record",
  "fields": [
{
  "name": "email",
  "type": "string",
  "doc": "email id"
}
  ]
}
{code}


> Get Plain Schema
> 
>
> Key: AVRO-2299
> URL: https://issues.apache.org/jira/browse/AVRO-2299
> Project: Apache Avro
>  Issue Type: New Feature
>  Components: java
>Affects Versions: 1.8.2
>Reporter: Rumeshkrishnan
>Priority: Minor
>  Labels: features
> Fix For: 1.9.0, 1.8.3, 1.8.4
>
>
> {panel:title=Avro Schema Reserved Keys:}
> "doc", "fields", "items", "name", "namespace",
> "size", "symbols", "values", "type", "aliases"
> {panel}
> AVRO also supports user defined properties for both Schema and Field.
> Is there way to get the schema with reserved property (key, value)? 
> Input Schema: 
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id",
>   "user_field_prop": "x"
> }
>   ],
>   "user_schema_prop": "xx"
> }{code}
> Expected Plain Schema:
> {code:java}
> {
>   "name": "testSchema",
>   "namespace": "com.avro",
>   "type": "record",
>   "fields": [
> {
>   "name": "email",
>   "type": "string",
>   "doc": "email id"
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)