GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SQL: `not like` is not working · Issue #958 · ArcadeData/arcadedb

SQL: not like is not working #958

New issue
Copy link
New issue
Copy link
Closed
Closed
SQL: not like is not working#958
Copy link
Assignees
lvca
Labels
workaround-provided
Milestone
23.3.1

Description

@darpan-vyas
darpan-vyas
opened on Mar 20, 2023
Issue body actions

ArcadeDB Version: ArcadeDB Server v23.3.1-SNAPSHOT (build 143b1a6/1677646375828/main)

JDK Version: JMX Metrics

OS: MacOS Ventura 13.2.1

Expected behavior

Filter all nodes where node property 'name' doesn't starts with 'tier'

Actual behavior

Query 1: select *,bothE() from tag where name not like 'tier%'
Query 2: match{type:tag, as:a, where: (name not like 'tier%')} return a

Getting an error. Please refer to the below images.

image
image

Background:
Tag is a node type with name (string) as a property.

Steps to reproduce

  • I've created a few nodes of type 'tag'. Each node has a unique string type name.
  • I connected the database in console and queried it to check the working.

Activity

  1. lvca commented on Mar 20, 2023

    @lvca
    lvca
    on Mar 20, 2023
    Member
    More actions

    This looks like a console issue: it has trouble to decipher the % character. If you run the same in Studio should work. This is a bug, working on it.

  2. lvca
    self-assigned this
    on Mar 20, 2023
  3. lvca
    added
    bug
    on Mar 20, 2023
  4. lvca
    added this to the 23.3.1 milestone on Mar 20, 2023
  5. darpan-vyas commented on Mar 20, 2023

    @darpan-vyas
    darpan-vyas
    on Mar 20, 2023
    Author
    More actions

    Getting errors on the console too!

    image

    image

  6. lvca commented on Mar 20, 2023

    @lvca
    lvca
    on Mar 20, 2023
    Member
    More actions

    There are 2 issues here: the console doesn't handle the % character properly and the not like seems not accepted. Checking the SQL grammar to see if there is something missing there.

  7. lvca commented on Mar 20, 2023

    @lvca
    lvca
    on Mar 20, 2023
    Member
    More actions

    I see. This is working:

    select *,bothE() from tag where not( name like 'tier% )

    The NOT must be used before an expression, not the operator it self. I'm continuing checking if there are some exceptions.

  8. lvca
    added
    workaround-provided
    on Mar 20, 2023
  9. lvca commented on Mar 20, 2023

    @lvca
    lvca
    on Mar 20, 2023
    Member
    More actions

    The only exception I see defined in the grammar is the usage of NOT IN operator, otherwise the not must be before the expression.

  10. lvca
    added a commit that references this issue on Mar 20, 2023

    fix: console does not support correctly outputs with `%` character

    9f42e9b
  11. lvca commented on Mar 20, 2023

    @lvca
    lvca
    on Mar 20, 2023
    Member
    More actions

    I just fixed the issue with the console, not it works in the last main branch.

  12. lvca
    closed this as completedon Mar 20, 2023
  13. lvca
    added
    bug fixed
    on Mar 20, 2023
  14. mergify
    added a commit that references this issue on Aug 28, 2025

    chore(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.…

    cde7c4d
  15. mergify
    added a commit that references this issue on Apr 6, 2026

    chore(deps): bump the github-actions group with 2 updates [skip ci]

    04e7bbc
  16. tae898
    added 3 commits that reference this issue on Jun 28, 2026

    fix: console does not support correctly outputs with `%` character

    3c2bc80

    chore(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.…

    38800c5

    chore(deps): bump the github-actions group with 2 updates [skip ci]

    c040762
  17. mergify
    added a commit that references this issue on Jul 19, 2026

    chore(deps-dev): bump org.apache.maven.plugins:maven-enforcer-plugin …

    4e63abe
  18. mergify
    added a commit that references this issue on Jul 26, 2026

    build(deps-dev): bump org.apache.maven.plugins:maven-enforcer-plugin …

    ffbd683
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

workaround-provided

Type

No type

Projects

No projects

    Milestone

    • 23.3.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.