manticoresoftware / manticoresoftware/manticoresearch

Can not create an stored_only attribute

Open
#3,263 9 comments 0 reactions 1 assignee View on GitHub

@glookka is already working on this.

Since Mar 31, 2025.

Dominant language
C++
Stars
12k
Forks
642
Avg merge
3d 12h
Merged PRs (30d)
47

Description

### Bug Description:

CREATE TABLE IF NOT EXISTS abcd (a int, b int **stored_only**);
will get "ERROR 1064 (42000): P03: syntax error, unexpected tablename, expecting ',' or ')' near 'stored_only)'"

CREATE TABLE IF NOT EXISTS abcd (a int, b int **stored**);
will get: ERROR 1064 (42000): P03: syntax error, unexpected STORED, expecting ',' or ')' near 'stored)'

CREATE TABLE IF NOT EXISTS abcd (a int, b **string stored**);
will ok

### Manticore Search Version:

Manticore 7.4.6 b2ff82920@25022808 (columnar 4.1.1 25f4706@25022806) (secondary 4.1.1 25f4706@25022806) (knn 4.1.1 25f4706@25022806)

### Operating System Version:

ubuntu 20.04

### Have you tried the latest development version?

None

### Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

- [ ] Implementation completed
- [ ] Tests developed
- [ ] Documentation updated
- [ ] Documentation reviewed
- [ ] [Changelog](https://docs.google.com/spreadsheets/d/1mz_3dRWKs86FjRF7EIZUziUDK_2Hvhd97G0pLpxo05s) updated

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.