[
https://issues.apache.org/jira/browse/ATLAS-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498943#comment-17498943
]
Hatice Ekenek commented on ATLAS-4557:
--------------------------------------
Hi,
Thank you for the information. Well, I have been given the opportunity to
define a non-primitive type, is it possible to use it in queries, is there a
development plan?
Also, do we have a chance to join in dsl?
For example:
{code:java}
Contact as C,Organization O where organization.__guid =
'99fc5750-a772-4b2d-ad40-9e00516cf644' select O.name,C.name, C.__guid{code}
> Dsl search with non-primitive attribute
> ---------------------------------------
>
> Key: ATLAS-4557
> URL: https://issues.apache.org/jira/browse/ATLAS-4557
> Project: Atlas
> Issue Type: Wish
> Components: atlas-webui
> Affects Versions: 2.2.0
> Reporter: Hatice Ekenek
> Assignee: Pinal Shah
> Priority: Critical
>
> Hi,
> I have the following types.
> I want to list the contacts by filtering them according to the organization
> property. But I can't find the right method to do this. I would be glad if
> you help.
> dsl query example:
> Contact where organization.__guid = "d44532ea-c6fc-417b-8c59-f988777dd51f"
>
> Example entity types:
> Contact Entity:
> {
> "name": "Contact",
> "description": "Contact test. ",
> "superTypes": [
> "Referenceable"
> ],
> "serviceType": "workflow",
> "typeVersion": "1.0",
> "attributeDefs": [
> {
> "name": "name",
> "typeName": "string",
> "cardinality": "SINGLE",
> "isIndexable": true,
> "isOptional": true,
> "isUnique": false
> },
> {
> "name": "organization",
> "typeName": "Organization",
> "cardinality": "SINGLE",
> "isIndexable": false,
> "isOptional": false,
> "isUnique": false
> },
> {
> "name": "role",
> "typeName": "Role",
> "cardinality": "SINGLE",
> "isIndexable": false,
> "isOptional": true,
> "isUnique": false
> }
> ]
> }
>
> Organization Entity Type:
>
> {
> "name": "Organization",
> "description": "organization ",
> "superTypes": [
> "Referenceable"
> ],
> "serviceType": "workflow",
> "typeVersion": "1.0",
> "attributeDefs": [
> {
> "name": "organizationCode",
> "typeName": "string",
> "cardinality": "SINGLE",
> "isIndexable": true,
> "isOptional": false,
> "isUnique": false
> },
> {
> "name": "organizationName",
> "typeName": "string",
> "cardinality": "SINGLE",
> "isIndexable": true,
> "isOptional": false,
> "isUnique": false
> }
> ]
> }
--
This message was sent by Atlassian Jira
(v8.20.1#820001)