Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      The JSON query language defines an extension to XQuery. Adding this extension would allow VXQuery to query JSON data. See their website for more details.

      JSONiq: http://www.jsoniq.org/

        Issue Links

          Activity

          Hide
          pavlopoul Christina Pavlopoulou added a comment -

          Ok, thank you

          Show
          pavlopoul Christina Pavlopoulou added a comment - Ok, thank you
          Hide
          tillw Till added a comment -

          Sure you can send it either to me or to everybody - depending on whose input you are looking for.
          Generally, the whole community might be more useful as other people (especially the other registered mentors) would probably have helpful input as well.

          Show
          tillw Till added a comment - Sure you can send it either to me or to everybody - depending on whose input you are looking for. Generally, the whole community might be more useful as other people (especially the other registered mentors) would probably have helpful input as well.
          Hide
          pavlopoul Christina Pavlopoulou added a comment -

          Sorry for the late response. That would be fine for me too. I have already started the proposal and I hope it will be soon completed. May I send it to you for some feedback as soon as it is finished?

          Show
          pavlopoul Christina Pavlopoulou added a comment - Sorry for the late response. That would be fine for me too. I have already started the proposal and I hope it will be soon completed. May I send it to you for some feedback as soon as it is finished?
          Hide
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment - - edited

          Yes that would be fine and I would like to start working on the proposal to add objects

          Show
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment - - edited Yes that would be fine and I would like to start working on the proposal to add objects
          Hide
          tillw Till added a comment -

          I think that - to implement JSONiq well in VXQuery (in a stable, efficient, and well tested way) - there is enough work for 2 GSoC projects.

          However, we need separate projects, separate code, and separate evaluations for both projects.
          So the projects cannot depend on each other, but they can be complementary.
          I think that you could propose 2 projects to GSoC:
          One project that would add objects to the data model (and all the functions, parser modifications, rewrite rules, etc. - the proposal would need to lay those out in more detail) and one project that does the same for arrays. That way the projects would complement each other without depending on each other. If one project is not successful, the other project can still complete, VXQuery just wouldn’t get a complete JSONiq implementation in that case.

          Maybe Riyafa could create a proposal to add objects and Christina could add one to add arrays?

          Of course you could (and are encouraged to) discuss those proposals either with the current community or with each other. But please make sure, that each proposal can be completely implemented independently of the other project. There might be some (small) overlap that would be part of both projects proposals. In that case we (the VXQuery community) would then need to decide how to address that during the coding phase.

          Show
          tillw Till added a comment - I think that - to implement JSONiq well in VXQuery (in a stable, efficient, and well tested way) - there is enough work for 2 GSoC projects. However, we need separate projects, separate code, and separate evaluations for both projects. So the projects cannot depend on each other, but they can be complementary. I think that you could propose 2 projects to GSoC: One project that would add objects to the data model (and all the functions, parser modifications, rewrite rules, etc. - the proposal would need to lay those out in more detail) and one project that does the same for arrays. That way the projects would complement each other without depending on each other. If one project is not successful, the other project can still complete, VXQuery just wouldn’t get a complete JSONiq implementation in that case. Maybe Riyafa could create a proposal to add objects and Christina could add one to add arrays? Of course you could (and are encouraged to) discuss those proposals either with the current community or with each other. But please make sure, that each proposal can be completely implemented independently of the other project. There might be some (small) overlap that would be part of both projects proposals. In that case we (the VXQuery community) would then need to decide how to address that during the coding phase.
          Hide
          pavlopoul Christina Pavlopoulou added a comment -

          Hi,

          I am a first year PhD student in the University of California, Riverside in the department of Computer Science. I am familiar with java and Xquery. I have already fixed the order by translator in VXQUERY which was posted here as VXQUERY-184 issue.

          As Riyafa, I am interested in this project. So, could we both of us be part of it and also, propose it to GSoC?

          Thank you

          Show
          pavlopoul Christina Pavlopoulou added a comment - Hi, I am a first year PhD student in the University of California, Riverside in the department of Computer Science. I am familiar with java and Xquery. I have already fixed the order by translator in VXQUERY which was posted here as VXQUERY-184 issue. As Riyafa, I am interested in this project. So, could we both of us be part of it and also, propose it to GSoC? Thank you
          Hide
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment -

          I have read through the specification for JSONiq Extension to XQuery 1.0 [1]. Now I have a good idea of what needs to be implemented. Since there's only about a week left before the student application period starts, I would like to start working on creating a proposal (As I guess there might be a lot I need to learn regarding the implementation). Is there any project proposal template I could use? what needs to be included in the proposal? What level of implementation of the JSoniq extension is expected in this project? Are tests and documentations to be included in the implementation?

          Please kindly help me regarding this and please let me know if there's anything else that I need to do, know or learn about before I could apply.

          Also please provide comments regarding the PR for issue VXQUERY-67 if there's any thing I could do to improve it.

          [1]jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html

          Thank you.

          Show
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment - I have read through the specification for JSONiq Extension to XQuery 1.0 [1] . Now I have a good idea of what needs to be implemented. Since there's only about a week left before the student application period starts, I would like to start working on creating a proposal (As I guess there might be a lot I need to learn regarding the implementation). Is there any project proposal template I could use? what needs to be included in the proposal? What level of implementation of the JSoniq extension is expected in this project? Are tests and documentations to be included in the implementation? Please kindly help me regarding this and please let me know if there's anything else that I need to do, know or learn about before I could apply. Also please provide comments regarding the PR for issue VXQUERY-67 if there's any thing I could do to improve it. [1] jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html Thank you.
          Hide
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment -

          I have made a pull request to issue VXQUERY-67. Till it is reviewed and I could fix errors if any, I would like to learn more about the jsoniq extension. As I understand to add the jsoniq extension I would have to improve VXquery to meet the specifications here[1] (Correct me if I am mistaken). Currently I have started going through these specifications so as to understand more and be able to propose for the above project in GSoC.

          [1] http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html

          Thanks

          Show
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment - I have made a pull request to issue VXQUERY-67 . Till it is reviewed and I could fix errors if any, I would like to learn more about the jsoniq extension. As I understand to add the jsoniq extension I would have to improve VXquery to meet the specifications here [1] (Correct me if I am mistaken). Currently I have started going through these specifications so as to understand more and be able to propose for the above project in GSoC. [1] http://jsoniq.org/docs/JSONiqExtensionToXQuery/html-single/index.html Thanks
          Hide
          tillw Till added a comment -

          VXQUERY-116 would be another one.

          Show
          tillw Till added a comment - VXQUERY-116 would be another one.
          Hide
          tillw Till added a comment -

          Yes!

          Show
          tillw Till added a comment - Yes!
          Hide
          tillw Till added a comment -

          Yes, for full support we'd need group by (and then some). However, a lot of stuff can be implemented without that. I think that you implied that, but I wanted to make it explicit here.

          Show
          tillw Till added a comment - Yes, for full support we'd need group by (and then some). However, a lot of stuff can be implemented without that. I think that you implied that, but I wanted to make it explicit here.
          Hide
          prestonc Preston Carman added a comment -

          While I don't see a ticket directly related that is flagged as a starter issue, I see a few that deal with fixing or adding runtime expressions. These would be good issues to get familiar with the runtime system which will be used to create part of the JSONiq implementation.

          VXQUERY-67 Add a three (or just one) missing string related functions. Check out existing string functions and use them as an example.
          – or –
          VXQUERY-60 Debug some timezone issues related to time data types.

          Show
          prestonc Preston Carman added a comment - While I don't see a ticket directly related that is flagged as a starter issue, I see a few that deal with fixing or adding runtime expressions. These would be good issues to get familiar with the runtime system which will be used to create part of the JSONiq implementation. VXQUERY-67 Add a three (or just one) missing string related functions. Check out existing string functions and use them as an example. – or – VXQUERY-60 Debug some timezone issues related to time data types.
          Hide
          prestonc Preston Carman added a comment -

          JSONiq support GROUP BY. For full support we should add this feature.

          Show
          prestonc Preston Carman added a comment - JSONiq support GROUP BY. For full support we should add this feature.
          Hide
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment -

          Hi,
          I am a third year Computer Science and Engineering undergraduate at University of Moratuwa.

          I am quite familiar java, json and Xquery. I consider doing the above project for GSoC this time. I have installed VXQuery and tried out executing some queries.

          I am currently following the developer start up page [1] and plan on starting to learn the jsoniq query language. Please suggest what else I could do to proceed--any related issues that I could fix? (I have just started going through the issues)

          I have asked regarding this in the mailing list as well.

          [1] http://vxquery.apache.org/developer_get_started.html

          Thank you.

          Show
          Riyafa Abdul Hameed Riyafa Abdul Hameed added a comment - Hi, I am a third year Computer Science and Engineering undergraduate at University of Moratuwa. I am quite familiar java, json and Xquery. I consider doing the above project for GSoC this time. I have installed VXQuery and tried out executing some queries. I am currently following the developer start up page [1] and plan on starting to learn the jsoniq query language. Please suggest what else I could do to proceed--any related issues that I could fix? (I have just started going through the issues) I have asked regarding this in the mailing list as well. [1] http://vxquery.apache.org/developer_get_started.html Thank you.

            People

            • Assignee:
              Unassigned
              Reporter:
              prestonc Preston Carman
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Development