Skip to content

[EPIC] Improve examples to make them easier to navigate #11172

@alamb

Description

@alamb

Is your feature request related to a problem or challenge?

The current number of examples in https://github.com/apache/datafusion/tree/main/datafusion-examples is somewhat overwhelming and hard to navigate

Describe the solution you'd like

I would like fewer consolidated examples. For example a sql.rs example rather than SQL examples being spread out across (at least) 9 different files

  • parqet_sql
  • parqet_sql_multiple_files
  • regexp
  • to_char
  • to_date
  • to_timestamp
  • make_date
  • avro_sql.rs

Subtasks

Describe alternatives you've considered

No response

Additional context

Also, I am trying to add some new examples, but the CI in my PR #11088 is failing due to running out of space

Example failure: https://github.com/apache/datafusion/actions/runs/9715084012/job/26815819949

  = note: /usr/bin/ld: final link failed: No space left on device
          collect2: error: ld returned 1 exit status

I think it is because each example creates its own binary which fills up the disk

Thus I also want to reduce the number of examples so I can add new ones :)

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions