Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
seasonone ( seasonone@opidea.xyz )  to Technology · 3 years ago

PRQL — a simple, powerful, pipelined SQL replacement

prql-lang.org

external-link
message-square
7
link
fedilink
  • cross-posted to:
  • concatenative@programming.dev
  • technology@lemmy.ml
  • programming@programming.dev
42
external-link

PRQL — a simple, powerful, pipelined SQL replacement

prql-lang.org

seasonone ( seasonone@opidea.xyz )  to Technology · 3 years ago
message-square
7
link
fedilink
  • cross-posted to:
  • concatenative@programming.dev
  • technology@lemmy.ml
  • programming@programming.dev
PRQL
prql-lang.org
external-link
PRQL is a modern language for transforming data
  • dark_stang ( dark_stang@beehaw.org ) deleted by creator
    link
    fedilink
    arrow-up
    22
    ·
    edit-2
    2 years ago

    deleted by creator

    • verstra ( verstra@programming.dev ) 
      link
      fedilink
      arrow-up
      7
      ·
      3 years ago

      As a developer of the compiler from prql to sql, I can say that I’m working on a new language because I know SQL quite in-depth.

      It seems ok on surface, but there are many inconsistenties that you either learn to live with or don’t even know are there until they trip you.

      • dark_stang ( dark_stang@beehaw.org ) deleted by creator
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        2 years ago

        deleted by creator

        • luckystarr ( luckystarr@feddit.de ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          The way I perceive PRQL is somewhat like SQLAlchemy-Core (the SQL expression layer, not the ORM). Almost a 1:1 mapping to SQL but softening the rough edges in SQL when constructing more complex queries dynamically, in particular: no function calls, no real variables, only string concatenation. While SQLAlchemy-Core lets you even extract sub-queries into variables, I don’t know about how powerful PRQL is in this regard.

          From what I see from the docs I’m rather hopeful though.

        • verstra ( verstra@programming.dev ) 
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          No biggie, it a nice entry barrier to have, because nowadays, there just too much new frameworks and languages and crypto currencies.

    • hazel 🤷🏻‍♀️🏳️‍🌈 ( iamhazel@beehaw.org ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

      I don’t get it either, I don’t feel it’s difficult to learn. Personally I very much enjoy writing SQL. It’s satisfying.

    • Shiri Bailem ( shiri@foggyminds.com ) 
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      @dark_stang @seasonone as someone who uses both: abstraction is mostly about (a) cross-compatibility (making one command work across multiple different database backends) and (b) interfacing more naturally with code to reduce the work needed to make changes

Technology

technology

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !technology@beehaw.org

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:

  • Free and Open Source Software
  • Programming
  • Operating Systems

This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 189 users / day
  • 395 users / week
  • 1.59K users / month
  • 4.82K users / 6 months
  • 5.11K local subscribers
  • 43.8K subscribers
  • 6.47K Posts
  • 108K Comments
  • Modlog
  • mods:
  • Chris Remington ( remington@beehaw.org ) 
  • alyaza [they/she] ( alyaza@beehaw.org ) 
  • TheRtRevKaiser ( TheRtRevKaiser@beehaw.org ) 
  • gyrfalcon ( gyrfalcon@beehaw.org ) 
  • rs5th ( rs5th@beehaw.org ) 
  • coldredlight ( coldredlight@beehaw.org ) 
  • Leigh ( SemioticStandard@beehaw.org ) 
  • TheRtRevKaiser ( TheRtRevKaiser@kbin.social ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code