Technical questions regarding the crafting with stackable items

So I want to create a gold chest, like a log pile, but then for gold. So I have a few questions about items that can be stacked:

  1. When harvestingan item that drops a stackable item, through the harvest mechanic, a loot table or otherwise, does it always only drop full stacks and not partial ones?
  2. If I make a recipe requiring a stackable item, does it use full stacks, partial stacks or just stacks, regardless of how full they are?
  3. If recipe’s don’t care about how full the stack is, is there a way to prevent partial stacks from being used?