# S01058 {#S01058}

## Error Code {#error_code .section}

S01058

## Error Message {#error_message .section}

`The data type of the specified partition does not match the partitioning scheme of the database. RefId: S01058`

## Probable Causes {#probable_causes .section}

The filtering conditions specified in the parameter *partitionPaths*of function `dropPartition` do not match the partitioning scheme of the target database.

## Solutions {#solutions .section}

Use the function `schema` to get the partitioning scheme and specify correct *partitionPaths* for `dropPartition`.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

