Question: ```
CREATE TABLE
  mydataset.newtable (transaction_id INT64, transaction_date DATE)
PARTITION BY
  transaction_date
AS SELECT transaction_id, transaction_date FROM mydataset.mytable

```

The docs don't specify whether the PARTITION BY clause supports "required".

Answer: 
**first** go to your pc dir wich android sdk is installed

```
in my pc dir is ->  C:\Users\lotka-pc\AppData\Local\Android\Sdk\cmake

```

and delete the older version

**second** in your gradle file **module** you should change the version of cmake

```
    externalNativeBuild {
    cmake {
        path file('src/main/cpp/CMakeLists.txt')
        version '3.18.1'
    }
}

```

**third** - you should check dir

```
src/main/cpp/CmakeList.txt 

```

and check the version

```
cmake_minimum_required(VERSION 3.10.2)

```

these will work :)
I had a similar problem (yet not related to the NDK so I gave your solution a shot). I just want to preface that your answer helped me realize something that was horribly wrong with my installation of Android Studio in terms of configuration.

Uninstalling and Reinstalling the IDE helped me find the true culprit as to why Android Studio just wouldn't compile: Inadequate [SFML configuration for Android](https://github.com/SFML/SFML/wiki/Tutorial:-Building-SFML-for-Android) in my case. I don't have enough reputation points as this is a new account, or I'd upvote your answer for helping me realize what I did wrong.

Thank you!