---
title: ilike (Column)
description: "Column.ilike method in PySpark: Case-insensitive SQL LIKE pattern matching."
canonical_url: https://docs.databricks.com/gcp/en/pyspark/reference/classes/column/ilike
---

# ilike (Column)

Case-insensitive SQL LIKE pattern matching.

## Syntax

```python
ilike(other)
```

## Parameters

| Parameter | Type | Description             |
| --------- | ---- | ----------------------- |
| `other`   | str  | SQL LIKE pattern string |

## Returns

Column (boolean)

## Examples

```python
df = spark.createDataFrame(
     [(2, "Alice"), (5, "Bob")], ["age", "name"])
df.filter(df.name.ilike('%Ice')).collect()
```

```Output
# [Row(age=2, name='Alice')]
```
