Re: Add datastore for Elasticsearch. Outreachy Week 7 Report

2021-01-21 Thread Maria Podorvanova
Hi, Okay, I will do that then. Thanks. Regards, Maria On Thu, 21 Jan 2021 at 03:33, John Mora wrote: > Hi Maria, > > Sorry for the late reply. Let's keep it simple.You can throw an exception > when you receive a STRING and only process RECORD cases in UNION. > > Example: > >

Re: Add datastore for Elasticsearch. Outreachy Week 7 Report

2021-01-20 Thread John Mora
Hi Maria, Sorry for the late reply. Let's keep it simple.You can throw an exception when you receive a STRING and only process RECORD cases in UNION. Example:

Re: Add datastore for Elasticsearch. Outreachy Week 7 Report

2021-01-19 Thread Maria Podorvanova
Hi Thank you for your comments. I will take a look into your links, but my question was a bit different. The problem is that foreign key "boss" is represented in Avro as UNION of three types: STRING, NULL and RECORD. Your answer is in regards to how to handle the last case (RECORD), but I was

Re: Add datastore for Elasticsearch. Outreachy Week 7 Report

2021-01-18 Thread John Mora
Hi Maria, Thanks for the update. Some comments: https://github.com/podorvanova/gora/blob/gora-664/gora-elasticsearch/src/main/java/org/apache/gora/elasticsearch/store/ElasticsearchStore.java#L192 Please add the index mappings when you create the elasticsearch index.

Add datastore for Elasticsearch. Outreachy Week 7 Report

2021-01-16 Thread Maria Podorvanova
Hi, Report #7 Period: January 10 - January 16 Activities: - Fixed authentication [1]: 1. Set up password to Elasticsearch container properly 2. Set default Elasticsearch container server’s username in gora.properties 3. Added exceptions for missing arguments in authentication -