Skip to content

Commit

Permalink
[DOCS] minor fixes to system_requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
sumwale committed Oct 18, 2021
1 parent 64c6814 commit 0f2888f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/install/system_requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Requirements for each host:
[SNAP-1375](https://jirasnappydataio.atlassian.net/browse/SNAP-1375) for crashes reported with earlier versions).
Recommended is the latest stable release version.

* Alternatively equivalent version of OpenJDK distributions >= 1.8.0\_144 and recommended is having the
latest stable release version. A full JDK installation is required.
* Alternatively equivalent Java version >= 1.8.0\_144 from OpenJDK distributions (Linux vendor build, AdoptOpenJDK
or equivalent). Recommended is the latest stable release version. A full JDK installation is required.

* The latest version of Bash shell.

Expand Down Expand Up @@ -71,8 +71,9 @@ Requirements for each host:

- On Red Hat based systems, some of the above Python packages may be available only after enabling the **EPEL** repository. If these are not available in the repositories for your OS version or if using **EPEL** is not an option, then you can use **pip**. Refer to the respective project documentation for details and alternative options such as Anaconda.

- Alternatively Python 3 <= 3.7 can also be used. Consult your distribution documents for the equivalent python 3
packages for `numpy`, `scipy` and `pandas`. Or you can use conda/mamba to set up the required python environment.
- Alternatively Python 3 can also be used but the version should be <= 3.7. Consult your distribution documentation to
install the equivalent python 3 packages for `numpy`, `scipy` and `pandas`.
Or you can use conda/mamba to set up the required python environment.


## Filesystem Type for Linux Platforms
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/sql_general_limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The following SQL general limitations are observed in SnappyData:
* [For complex data types (ARRAY, MAP, STRUCT), values to be inserted can not be directly used in the values clause of `INSERT INTO <table> values (x, y, z … )`](#limitation3)

<a id="limitation1"></a>
##### For row tables without primary key, DML operations that use Spark functions are not supported
### For row tables without primary key, DML operations that use Spark functions are not supported

!!!Note
This limitation applies only to row tables. For column tables such DML operations are supported.
Expand Down Expand Up @@ -49,7 +49,7 @@ However, if *table1* contains a primary key, then the DML operations are support
2 rows selected

<a id="limitation2"></a>
##### The syntax, `INSERT INTO <table><(col1,...)> values (… )`, cannot contain Spark functions in the values clause
### The syntax, `INSERT INTO <table><(col1,...)> values (… )`, cannot contain Spark functions in the values clause

The value clause of `INSERT INTO <table><(col1,...)> values (… ) `operation can not contain Spark functions. In such a case, use syntax `INSERT INTO <table> SELECT <>` syntax.

Expand All @@ -76,7 +76,7 @@ However, the following syntax works:
1 row selected

<a id="limitation3"></a>
##### For complex data types (ARRAY, MAP, STRUCT), values to be inserted can not be directly used in the values clause of `INSERT INTO <table> values (x, y, z … )`
### For complex data types (ARRAY, MAP, STRUCT), values to be inserted can not be directly used in the values clause of `INSERT INTO <table> values (x, y, z … )`

To insert values using Snappy shell or a SQL client use `insert into <table> select` syntax.

Expand All @@ -102,4 +102,4 @@ The following syntax will produce an error:
snappy> insert into StudentGrades values (1, 'Jim',Map('English', 'A', 'Science', 'B'));
ERROR 42Y03: (SQLState=42Y03 Severity=20000) (Server=localhost/127.0.0.1[1529] Thread=ThriftProcessor-0) 'MAP(java.lang.String,java.lang.String,java.lang.String,java.lang.String)' is not recognized as a function or procedure.

For more details on complex datatypes, refer to [Supported datatypes](misc/supported_datatypes.md) and [how to store and retrieve complex data types using ComplexTypeSerializer class](../howto/store_retrieve_complex_datatypes_JDBC.md).
For more details on complex datatypes, refer to [Supported datatypes](misc/supported_datatypes.md) and [how to store and retrieve complex data types using ComplexTypeSerializer class](../howto/store_retrieve_complex_datatypes_JDBC.md).

0 comments on commit 0f2888f

Please sign in to comment.